﻿/* ==========================================================================
   AnimeFLV child theme â€” visual replica of the homepage capture
   ========================================================================== */

:root {
    --aflv-header: #30353b;
    --aflv-promo: #30353b;
    --aflv-footer: #30353b;
    --aflv-bg: #f2f2f2;
    --aflv-white: #ffffff;
    --aflv-text: #555555;
    --aflv-muted: #888888;
    --aflv-blue: #00c1f3;
    --aflv-orange: #f39c12;
    --aflv-green: #2ecc71;
    --aflv-border: #e6e6e6;
    --aflv-wrap: 1180px;
    --aflv-sidebar: 320px;
}

body.animeflv-theme {
    background-color: #f4f4f4 !important;
    background-image: url("../img/bg.jpg") !important;
    background-repeat: repeat !important;
    color: var(--aflv-text);
    font-family: "Roboto", "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.45;
}

body.animeflv-theme a {
    color: var(--aflv-text);
    text-decoration: none;
}

body.animeflv-theme a:hover {
    color: var(--aflv-blue);
}

body.animeflv-theme #dt_contenedor {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: transparent !important;
}

body.animeflv-theme #contenedor {
    max-width: var(--aflv-wrap) !important;
    margin: 24px auto 0 !important;
    padding: 0 10px 30px !important;
    overflow: visible;
    clear: both;
    flex: 1 0 auto;
}

/* --------------------------------------------------------------------------
   Header â€” logo left, menu + search + login grouped right
   -------------------------------------------------------------------------- */

body.animeflv-theme header#header.main {
    background: var(--aflv-header) !important;
    border: 0 !important;
    box-shadow: none !important;
    height: 70px;
    width: 100% !important;
    position: relative !important;
    top: auto;
    left: auto;
    float: none !important;
    z-index: 40;
    overflow: visible !important;
}

body.animeflv-theme header#header.main .hbox {
    max-width: var(--aflv-wrap) !important;
    height: 70px;
    margin: 0 auto;
    padding: 0 10px;
    position: relative;
}

body.animeflv-theme header#header.main .hbox .fix-hidden {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    overflow: visible !important;
}

body.animeflv-theme header#header.main .logo,
body.animeflv-theme header#header.main .head-main-nav,
body.animeflv-theme header#header.main .headitems,
body.animeflv-theme header#header.main .headitems .search,
body.animeflv-theme header#header.main .headitems .dtuser {
    float: none !important;
    margin: 0 !important;
}

body.animeflv-theme header#header.main .logo {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    flex: 0 0 auto;
}

body.animeflv-theme header#header.main .logo a {
    display: flex;
    align-items: center;
    height: 70px;
}

body.animeflv-theme header#header.main .logo,
body.animeflv-theme header#header.main .logo a,
body.animeflv-theme header#header.main .logo img,
body.animeflv-theme header#header.main .logo img.aflv-logo-img {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.animeflv-theme header#header.main .logo img.aflv-logo-img {
    display: block;
    height: 48px;
    width: auto;
    max-height: 48px;
    max-width: 220px;
    object-fit: contain;
    object-position: left center;
}

body.animeflv-theme .aflv-head-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    margin-left: auto;
    overflow: visible;
}

body.animeflv-theme .head-main-nav {
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 0 !important;
}

body.animeflv-theme .head-main-nav ul.main-header {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.animeflv-theme .head-main-nav ul.main-header > li {
    float: none !important;
    margin: 0 26px 0 0 !important;
    padding: 0 !important;
}

body.animeflv-theme .head-main-nav ul.main-header > li:last-child {
    margin-right: 0 !important;
}

body.animeflv-theme .head-main-nav ul.main-header > li > a {
    font-family: "Open Sans", sans-serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
    font-size: 15px !important;
    line-height: 20px !important;
    color: #9da1a4 !important;
    letter-spacing: 0;
    text-transform: uppercase;
    padding: 0 !important;
    background: none !important;
}

body.animeflv-theme .head-main-nav ul.main-header > li > a:hover,
body.animeflv-theme .head-main-nav ul.main-header > li.current-menu-item > a {
    color: #fff !important;
}

body.animeflv-theme header#header.main .headitems {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0 !important;
    width: auto !important;
    background: transparent !important;
    overflow: visible !important;
}

body.animeflv-theme header#header.main .hbox .search {
    width: 190px;
    margin: 0;
    padding: 0 !important;
    display: block;
    height: auto;
    position: relative;
    overflow: visible !important;
}

body.animeflv-theme header#header.main .hbox .search,
body.animeflv-theme header#header.main #advc-menu {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.animeflv-theme header#header.main .hbox .search form,
body.animeflv-theme header#header.main .hbox .search form:hover,
body.animeflv-theme header#header.main #searchform {
    position: relative;
    margin: 0;
    padding: 0 !important;
    width: 100% !important;
    height: 40px !important;
    overflow: hidden;
    background: #25282c !important;
    background-color: #25282c !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 50px !important;
    box-shadow: none !important;
}

body.animeflv-theme header#header.main .hbox .search form input[type="text"],
body.animeflv-theme header#header.main .hbox .search form input[type="text"]:hover,
body.animeflv-theme header#header.main .hbox .search form input[type="text"]:focus {
    width: 100%;
    height: 40px !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 50px !important;
    color: #c5c5c5 !important;
    font-size: 13px;
    font-weight: 400;
    padding: 0 36px 0 14px !important;
    outline: none;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
    line-height: 40px;
}

body.animeflv-theme header#header.main .hbox .search form input[type="text"]::placeholder {
    color: #8b8b8b;
    opacity: 1;
}

body.animeflv-theme header#header.main .hbox .search form button[type="submit"] {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: transparent !important;
    border: 0 !important;
    color: #fff !important;
    cursor: pointer;
    padding: 0 !important;
    box-shadow: none !important;
    line-height: 40px;
}

body.animeflv-theme header#header.main .hbox .search form button[type="submit"]:hover {
    color: var(--aflv-blue) !important;
}

body.animeflv-theme .dtuser,
body.animeflv-theme .dtuser .gravatar,
body.animeflv-theme .dtuser .gravatar .image,
body.animeflv-theme .dtuser .gravatar .image a,
body.animeflv-theme .dtuser .gravatar .image img {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body.animeflv-theme .dtuser a#dooplay_signout {
    color: #cfd3d6 !important;
    background: transparent !important;
}

body.animeflv-theme .aflv-login,
body.animeflv-theme .aflv-discord,
body.animeflv-theme .dtuser a.clicklogin {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 12px !important;
    background: #25282c !important;
    background-color: #25282c !important;
    border: 0 !important;
    border-radius: 4px !important;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    line-height: 32px !important;
    box-shadow: none !important;
}

body.animeflv-theme .aflv-login i,
body.animeflv-theme .aflv-discord i,
body.animeflv-theme .dtuser a.clicklogin i {
    font-size: 12px;
    color: #fff !important;
}

body.animeflv-theme .aflv-discord {
    flex: 0 0 auto;
    background: #5865f2 !important;
    background-color: #5865f2 !important;
    margin-right: 0;
    text-decoration: none !important;
}

body.animeflv-theme .aflv-discord:hover {
    background: #4752c4 !important;
    background-color: #4752c4 !important;
    color: #fff !important;
}

body.animeflv-theme .aflv-footer-logo {
    display: inline-block;
    margin-bottom: 10px;
}

body.animeflv-theme .aflv-footer-logo img {
    max-height: 40px;
    width: auto;
}

body.animeflv-theme .aflv-login:hover,
body.animeflv-theme .dtuser a.clicklogin:hover {
    background: #1c2126 !important;
    color: #fff !important;
}

body.animeflv-theme .aflv-login.is-open,
body.animeflv-theme .dtuser a.clicklogin.is-open,
body.animeflv-theme .aflv-login.is-open:hover,
body.animeflv-theme .dtuser a.clicklogin.is-open:hover {
    background: var(--aflv-blue) !important;
    background-color: var(--aflv-blue) !important;
    color: #fff !important;
}

body.animeflv-theme header#header.main .live-search,
body.animeflv-theme .aflv-live-search {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: auto !important;
    width: 270px !important;
    z-index: 300;
    background: #fff !important;
    border: 0 !important;
    border-top: 0 !important;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    padding: 6px 0 0 !important;
    overflow: visible !important;
    float: none !important;
}

body.animeflv-theme header#header.main .aflv-live-search.is-open,
body.animeflv-theme .search_responsive .aflv-live-search.is-open,
body.animeflv-theme .aflv-live-search.is-open {
    display: block !important;
}

body.animeflv-theme .aflv-live-search::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 18px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
}

body.animeflv-theme .aflv-ls-loading,
body.animeflv-theme .aflv-ls-empty {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px 14px;
    color: #b0b0b0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
}

body.animeflv-theme .aflv-ls-spinner {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

body.animeflv-theme .aflv-ls-spinner span {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

body.animeflv-theme .aflv-ls-spinner span::before {
    content: "";
    display: block;
    width: 3.5px;
    height: 3.5px;
    margin: 0 auto;
    background: #6a6a6a;
    border-radius: 50%;
    animation: aflv-ls-dots 0.8s linear infinite;
}

body.animeflv-theme .aflv-ls-spinner span:nth-child(1) { transform: rotate(0deg); }
body.animeflv-theme .aflv-ls-spinner span:nth-child(2) { transform: rotate(45deg); }
body.animeflv-theme .aflv-ls-spinner span:nth-child(3) { transform: rotate(90deg); }
body.animeflv-theme .aflv-ls-spinner span:nth-child(4) { transform: rotate(135deg); }
body.animeflv-theme .aflv-ls-spinner span:nth-child(5) { transform: rotate(180deg); }
body.animeflv-theme .aflv-ls-spinner span:nth-child(6) { transform: rotate(225deg); }
body.animeflv-theme .aflv-ls-spinner span:nth-child(7) { transform: rotate(270deg); }
body.animeflv-theme .aflv-ls-spinner span:nth-child(8) { transform: rotate(315deg); }

body.animeflv-theme .aflv-ls-spinner span:nth-child(1)::before { animation-delay: 0s; }
body.animeflv-theme .aflv-ls-spinner span:nth-child(2)::before { animation-delay: -0.1s; }
body.animeflv-theme .aflv-ls-spinner span:nth-child(3)::before { animation-delay: -0.2s; }
body.animeflv-theme .aflv-ls-spinner span:nth-child(4)::before { animation-delay: -0.3s; }
body.animeflv-theme .aflv-ls-spinner span:nth-child(5)::before { animation-delay: -0.4s; }
body.animeflv-theme .aflv-ls-spinner span:nth-child(6)::before { animation-delay: -0.5s; }
body.animeflv-theme .aflv-ls-spinner span:nth-child(7)::before { animation-delay: -0.6s; }
body.animeflv-theme .aflv-ls-spinner span:nth-child(8)::before { animation-delay: -0.7s; }

@keyframes aflv-ls-dots {
    0%, 39%, 100% { opacity: 0.18; }
    40% { opacity: 1; }
}

body.animeflv-theme .aflv-live-search ul,
body.animeflv-theme .aflv-ls-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: 100% !important;
    background: #fff !important;
    box-shadow: none !important;
    border: 0 !important;
}

body.animeflv-theme .aflv-live-search ul:hover li,
body.animeflv-theme .aflv-ls-list:hover li {
    opacity: 1 !important;
}

body.animeflv-theme .aflv-live-search ul li,
body.animeflv-theme .aflv-ls-list li,
body.animeflv-theme .aflv-live-search ul li:first-child,
body.animeflv-theme .aflv-ls-list li:first-child {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: 100% !important;
    display: block !important;
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    background: transparent !important;
    opacity: 1 !important;
}

body.animeflv-theme .aflv-ls-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    color: #333;
    text-decoration: none !important;
}

body.animeflv-theme .aflv-ls-item:hover {
    background: transparent;
}

body.animeflv-theme .aflv-ls-item:hover .aflv-ls-title {
    color: #00aeed;
}

body.animeflv-theme .aflv-ls-thumb {
    flex: 0 0 36px;
    width: 36px;
    height: 50px;
    overflow: hidden;
    background: #ececec;
}

body.animeflv-theme .aflv-ls-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.animeflv-theme .aflv-ls-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    min-width: 0;
}

body.animeflv-theme .aflv-ls-title {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 13px;
    line-height: 20px;
    color: #444;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

body.animeflv-theme .aflv-ls-item .aflv-type {
    border-radius: 50px;
    padding: 3px 8px;
    font-size: 9px;
}

body.animeflv-theme .aflv-ls-item .aflv-type.tv {
    background: var(--aflv-blue) !important;
}

body.animeflv-theme .aflv-ls-more {
    display: flex !important;
    align-items: center;
    justify-content: center;
    float: none !important;
    width: 100% !important;
    margin: 4px 0 0 !important;
    padding: 10px 8px !important;
    background: #00aeed !important;
    background-image: none !important;
    box-shadow: none !important;
    border: 0 !important;
    color: #fff !important;
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-style: normal !important;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0;
    border-radius: 0 0 6px 6px;
    text-decoration: none !important;
}

body.animeflv-theme .aflv-ls-more:hover {
    background: #00aeed !important;
    color: #fff !important;
}

body.animeflv-theme .search_responsive {
    position: relative;
}

body.animeflv-theme .search_responsive .aflv-live-search {
    right: 10px;
    left: 10px;
    width: auto;
}

/* Promo banner â€” same width as content, patterned block */
body.animeflv-theme .aflv-promo {
    background-color: #1b1f23;
    background-image: url("../img/bgb.jpg");
    background-repeat: repeat;
    background-position: center top;
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    font-size: 25px;
    line-height: 30px;
    color: #cfd8dc;
    text-align: center;
    letter-spacing: 0;
    padding: 10px 20px;
    margin: 0 0 18px;
    border-radius: 3px;
    border: 0;
    border-bottom: 2px solid #14b5e2;
    box-shadow: none;
}

body.animeflv-theme .aflv-promo strong {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 25px;
    line-height: 30px;
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   Homepage / directorio layout
   -------------------------------------------------------------------------- */

body.animeflv-theme .aflv-wrap {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

body.animeflv-theme .aflv-sidebar {
    width: var(--aflv-sidebar);
    flex: 0 0 var(--aflv-sidebar);
}

body.animeflv-theme .aflv-main {
    flex: 1 1 auto;
    min-width: 0;
}

body.animeflv-theme .aflv-section {
    margin-bottom: 28px;
}

body.animeflv-theme .aflv-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 0 0 12px;
    padding: 8px 0 10px;
    min-height: 42px;
    border: 0;
    background: none;
    overflow: visible;
}

body.animeflv-theme .aflv-head h1,
body.animeflv-theme .aflv-head h2 {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: #3b4248 !important;
    font-family: "Open Sans", sans-serif !important;
    font-style: normal !important;
    font-size: 25px !important;
    font-weight: 300 !important;
    line-height: 30px !important;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: none;
}

body.animeflv-theme .aflv-hoy {
    position: relative;
    display: inline-block;
    background: var(--aflv-blue);
    color: #fff !important;
    font-family: "Open Sans", sans-serif !important;
    font-style: normal !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    height: 30px;
    line-height: 30px !important;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 0 16px;
    border-radius: 50px;
    margin: 0 0 8px 8px;
    overflow: visible;
}

body.animeflv-theme .aflv-hoy:before {
    content: none;
}

body.animeflv-theme .aflv-hoy:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    margin-left: -5px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--aflv-blue);
}

body.animeflv-theme .aflv-esfera {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 6px rgba(255, 140, 0, 0.5), inset 0 -3px 5px rgba(180, 70, 0, 0.28);
}

body.animeflv-theme .aflv-esfera-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.animeflv-theme .aflv-esfera:after {
    content: "";
    position: absolute;
    top: 10%;
    left: 16%;
    z-index: 0;
    width: 42%;
    height: 30%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.38);
    pointer-events: none;
}

body.animeflv-theme .aflv-esfera-star {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 36%;
    height: 36%;
    transform: translate(-50%, -50%);
    display: block;
    filter: none;
    opacity: 0.35;
}

body.animeflv-theme .aflv-play-circle {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: var(--aflv-orange);
    border-radius: 50%;
    position: relative;
    flex: 0 0 18px;
}

body.animeflv-theme .aflv-play-circle:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #fff;
}

/* --------------------------------------------------------------------------
   Sidebar â€” Animes en emisiÃ³n
   -------------------------------------------------------------------------- */

body.animeflv-theme .aflv-emision {
    background: var(--aflv-white);
    border: 0;
    border-radius: 6px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

body.animeflv-theme .aflv-emision h2 {
    margin: 0;
    padding: 11px 12px;
    color: #3b4248;
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #ececec;
}

body.animeflv-theme .aflv-emision h2:after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: auto;
    flex: 0 0 auto;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid var(--aflv-orange);
}

body.animeflv-theme .aflv-emision ul {
    list-style: none;
    margin: 0;
    padding: 14px 0 10px;
    background: transparent;
    border: 0;
}

body.animeflv-theme .aflv-emision li {
    margin: 0;
    padding: 0;
    border: 0;
}

body.animeflv-theme .aflv-emision a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: #000000;
    font-size: 12.5px;
}

body.animeflv-theme .aflv-emision a:hover {
    background: transparent;
    color: #000000;
}

body.animeflv-theme .aflv-dot {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border: 0;
    background-color: #b4b4b4;
    -webkit-mask: url("../img/play-sidebar.svg") center / contain no-repeat;
    mask: url("../img/play-sidebar.svg") center / contain no-repeat;
    transition: background-color 0.15s ease;
}

body.animeflv-theme .aflv-dot img {
    display: none;
}

body.animeflv-theme .aflv-emision a:hover .aflv-dot {
    background-color: var(--aflv-blue);
}

body.animeflv-theme .aflv-emision-title {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #000000;
    transition: color 0.15s ease;
}

body.animeflv-theme .aflv-emision a:hover .aflv-emision-title {
    color: var(--aflv-blue);
}

body.animeflv-theme .aflv-type {
    flex: 0 0 auto;
    display: inline-block;
    color: #fff !important;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 3px 7px;
    border-radius: 3px;
    line-height: 1;
}

body.animeflv-theme .aflv-emision .aflv-type {
    border-radius: 50px;
    padding: 3px 8px;
    transition: filter 0.15s ease, background-color 0.15s ease;
}

body.animeflv-theme .aflv-emision a:hover .aflv-type {
    filter: none;
    background: #01bcf3 !important;
}

body.animeflv-theme .aflv-emision .aflv-type.tv {
    background: #82daf6;
}

body.animeflv-theme .aflv-type.ova {
    background: var(--aflv-orange);
}

body.animeflv-theme .aflv-type.movie {
    background: #f53042;
}

/* --------------------------------------------------------------------------
   Latest episodes â€” 4 column 16:9 cards
   -------------------------------------------------------------------------- */

body.animeflv-theme .aflv-episodes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 14px;
}

body.animeflv-theme .aflv-episodes .item,
body.animeflv-theme article.aflv-episode {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.animeflv-theme article.aflv-episode a {
    display: block;
    color: #333;
}

body.animeflv-theme .aflv-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 3px;
    background: #ddd;
    aspect-ratio: 3 / 2;
}

body.animeflv-theme .aflv-thumb > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 0;
    transform: scale(1);
    transition: transform 0.2s ease;
}

body.animeflv-theme .aflv-thumb:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(255, 255, 255, 0);
    pointer-events: none;
    transition: background 0.2s ease;
}

body.animeflv-theme .aflv-play {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    width: 22px;
    height: 22px;
    background: none;
    border-radius: 0;
    transform: translateX(0);
    opacity: 1;
    transition: transform 0.45s ease, opacity 0.45s ease;
}

body.animeflv-theme .aflv-play:after {
    content: none;
}

body.animeflv-theme .aflv-play img {
    display: block;
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

body.animeflv-theme article.aflv-episode a:hover .aflv-thumb > img {
    transform: scale(1.14);
}

body.animeflv-theme article.aflv-episode a:hover .aflv-thumb:after {
    background: rgba(255, 255, 255, 0.16);
}

body.animeflv-theme article.aflv-episode a:hover .aflv-play {
    transform: translateX(140%);
    opacity: 0;
}

body.animeflv-theme .aflv-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 24px 10px 8px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 55%, transparent 100%);
}

body.animeflv-theme .aflv-capi {
    position: static;
    display: inline-block;
    background: #fa7800;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 50px;
    line-height: 1.2;
}

body.animeflv-theme article.aflv-episode h3 {
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    max-width: 100%;
    min-width: 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

body.animeflv-theme article.aflv-episode a:hover h3 {
    color: #fff !important;
}

body.animeflv-theme article.aflv-episode .poster,
body.animeflv-theme article.aflv-episode .data,
body.animeflv-theme article.aflv-episode .season_m,
body.animeflv-theme article.aflv-episode .quality {
    display: none;
}

/* --------------------------------------------------------------------------
   Latest animes â€” 4 column posters
   -------------------------------------------------------------------------- */

body.animeflv-theme .aflv-animes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 14px;
    overflow: visible;
}

body.animeflv-theme .aflv-animes .item,
body.animeflv-theme article.aflv-anime {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.animeflv-theme article.aflv-anime {
    position: relative;
    z-index: 1;
}

body.animeflv-theme article.aflv-anime:hover {
    z-index: 30;
}

body.animeflv-theme article.aflv-anime a.aflv-anime-main {
    display: block;
    text-align: center;
}

body.animeflv-theme .aflv-poster {
    position: relative;
    display: block;
    overflow: visible;
    padding: 6px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body.animeflv-theme .aflv-poster-media {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 2 / 3;
    background: #ddd;
}

body.animeflv-theme .aflv-poster > img,
body.animeflv-theme .aflv-poster-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

body.animeflv-theme .aflv-poster .aflv-type {
    position: absolute;
    left: 8px;
    bottom: 8px;
    z-index: 3;
    border-radius: 50px;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    line-height: 1.2;
}

body.animeflv-theme .aflv-poster .aflv-type.tv {
    background: #06bcec;
}

body.animeflv-theme .aflv-estreno {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 82px;
    height: 82px;
    overflow: hidden;
    z-index: 5;
    isolation: isolate;
    pointer-events: none;
}

body.animeflv-theme .aflv-estreno span {
    position: absolute;
    display: block;
    width: 112px;
    top: 18px;
    left: -26px;
    padding: 5px 0;
    background: #00b042;
    color: #fff !important;
    font-family: "Open Sans", sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    transform: rotate(-45deg);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.28);
}

body.animeflv-theme .aflv-estreno span:before,
body.animeflv-theme .aflv-estreno span:after {
    content: "";
    position: absolute;
    top: 100%;
    z-index: -1;
    border-top: 5px solid #007a2e;
    border-bottom: 5px solid transparent;
}

body.animeflv-theme .aflv-estreno span:before {
    left: 0;
    border-left: 5px solid #007a2e;
    border-right: 5px solid transparent;
}

body.animeflv-theme .aflv-estreno span:after {
    right: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid #007a2e;
}

body.animeflv-theme article.aflv-anime h3 {
    margin: 8px 0 0 !important;
    padding: 0 !important;
    color: #333 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    text-align: center;
}

body.animeflv-theme article.aflv-anime:hover h3 {
    color: #06bcec !important;
}

body.animeflv-theme .aflv-poster-media:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(6, 188, 236, 0.52);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

body.animeflv-theme article.aflv-anime:hover .aflv-poster-media:after {
    opacity: 1;
}

body.animeflv-theme .aflv-anime-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    transform: translate(-50%, -50%) scale(0.86);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

body.animeflv-theme .aflv-anime-play img {
    display: block;
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

body.animeflv-theme article.aflv-anime:hover .aflv-anime-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

body.animeflv-theme .aflv-anime-hover {
    position: absolute;
    top: 0;
    left: calc(100% - 18px);
    width: 270px;
    padding: 14px 14px 12px;
    background: #3b4248;
    border-radius: 4px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 40;
}

body.animeflv-theme .aflv-anime-hover:before {
    content: "";
    position: absolute;
    top: 0;
    left: -8px;
    width: 20px;
    height: 100%;
}

body.animeflv-theme article.aflv-anime:hover .aflv-anime-hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

body.animeflv-theme .aflv-animes:not(.aflv-browse-grid) article.aflv-anime:nth-child(4n) .aflv-anime-hover,
body.animeflv-theme .aflv-browse-grid article.aflv-anime:nth-child(6n) .aflv-anime-hover,
body.animeflv-theme article.aflv-anime.aflv-hover-left .aflv-anime-hover {
    left: auto;
    right: calc(100% - 18px);
    transform: translateX(-8px);
}

body.animeflv-theme .aflv-animes:not(.aflv-browse-grid) article.aflv-anime:nth-child(4n) .aflv-anime-hover:before,
body.animeflv-theme .aflv-browse-grid article.aflv-anime:nth-child(6n) .aflv-anime-hover:before,
body.animeflv-theme article.aflv-anime.aflv-hover-left .aflv-anime-hover:before {
    left: auto;
    right: -8px;
}

body.animeflv-theme .aflv-animes:not(.aflv-browse-grid) article.aflv-anime:nth-child(4n):hover .aflv-anime-hover,
body.animeflv-theme .aflv-browse-grid article.aflv-anime:nth-child(6n):hover .aflv-anime-hover,
body.animeflv-theme article.aflv-anime.aflv-hover-left:hover .aflv-anime-hover {
    transform: translateX(0);
}

body.animeflv-theme .aflv-anime-hover h4 {
    margin: 0 0 8px;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

body.animeflv-theme .aflv-hover-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

body.animeflv-theme .aflv-anime-hover .aflv-type {
    position: static;
    padding: 3px 8px;
    border-radius: 50px;
    font-size: 9px;
}

body.animeflv-theme .aflv-anime-hover .aflv-type.tv {
    background: #06bcec;
}

body.animeflv-theme .aflv-hover-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

body.animeflv-theme .aflv-hover-star {
    display: block;
    width: 14px;
    height: 14px;
    filter: invert(78%) sepia(78%) saturate(650%) hue-rotate(2deg) brightness(104%);
}

body.animeflv-theme .aflv-hover-excerpt {
    margin: 0 0 12px;
    color: #c5ccd1;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
}

body.animeflv-theme .aflv-ver-anime {
    display: inline-block;
    float: right;
    background: #06bcec;
    color: #fff !important;
    font-family: "Open Sans", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 50px;
    line-height: 1;
}

body.animeflv-theme .aflv-ver-anime:hover {
    background: #00a8d4;
    color: #fff !important;
}

body.animeflv-theme article.aflv-anime .poster,
body.animeflv-theme article.aflv-anime .data,
body.animeflv-theme article.aflv-anime .rating,
body.animeflv-theme article.aflv-anime .mepo,
body.animeflv-theme article.aflv-anime .see,
body.animeflv-theme article.aflv-anime .dtinfo {
    display: none !important;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

body.animeflv-theme footer.main,
body.animeflv-theme footer.aflv-footer {
    background: #30353b !important;
    border: 0 !important;
    float: none !important;
    width: 100% !important;
    margin: 20px 0 0 !important;
    padding: 22px 0 26px;
    color: #a8a8a8 !important;
}

body.animeflv-theme footer.main .fbox {
    max-width: var(--aflv-wrap) !important;
    margin: 0 auto;
    padding: 0 10px;
    background: transparent !important;
    box-shadow: none !important;
}

body.animeflv-theme footer.main .fcmpbox,
body.animeflv-theme footer.main .copy,
body.animeflv-theme footer.main .top-page,
body.animeflv-theme footer.main .primary,
body.animeflv-theme footer.main .fmenu {
    display: none !important;
}

body.animeflv-theme footer.main,
body.animeflv-theme footer.aflv-footer {
    flex-shrink: 0;
    clear: both !important;
}

body.animeflv-theme .aflv-footer-inner {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    float: none !important;
    width: 100% !important;
    text-align: left;
    background: transparent !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    gap: 12px;
}

body.animeflv-theme .aflv-disclaimer {
    margin: 0;
    max-width: none;
    color: #a8a8a8;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

body.animeflv-theme .aflv-disclaimer strong {
    color: #fff;
    font-weight: 700;
}

body.animeflv-theme .aflv-footer-links {
    display: block;
    width: 100%;
    background: transparent !important;
    padding: 0;
}

body.animeflv-theme .aflv-footer-links ul,
body.animeflv-theme .aflv-footer-links .aflv-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    background: transparent !important;
}

body.animeflv-theme .aflv-footer-links li {
    margin: 0;
    padding: 0;
    float: none !important;
    border: 0 !important;
    background: transparent !important;
}

body.animeflv-theme .aflv-footer-links a {
    display: inline-block;
    background: #1a1d21 !important;
    color: #fff !important;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none !important;
    padding: 7px 16px;
    border-radius: 50px;
    line-height: 1.2;
}

body.animeflv-theme .aflv-footer-links a:hover {
    background: #000 !important;
    color: #fff !important;
}

/* --------------------------------------------------------------------------
   Static pages (términos, privacidad, sobre)
   -------------------------------------------------------------------------- */

body.animeflv-theme.aflv-static-page #contenedor {
    max-width: var(--aflv-wrap) !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 10px 24px !important;
    float: none !important;
    clear: both !important;
}

body.animeflv-theme .aflv-page {
    width: 100%;
    float: none !important;
    clear: both !important;
    padding: 8px 0 10px;
}

body.animeflv-theme .aflv-page-wrap {
    max-width: var(--aflv-wrap);
    margin: 0 auto;
}

body.animeflv-theme .aflv-page-content {
    background: var(--aflv-white);
    border: 1px solid var(--aflv-border);
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    padding: 28px 34px 34px;
}

body.animeflv-theme .aflv-page-title {
    margin: 0 0 20px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--aflv-border);
    color: #3b4248;
    font-family: "Open Sans", sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.3;
}

body.animeflv-theme .aflv-page-body,
body.animeflv-theme .aflv-page-content .aflv-page-body {
    color: #5f656b;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 1.75;
}

body.animeflv-theme .aflv-page-body p,
body.animeflv-theme .aflv-page-content p {
    margin: 0 0 14px;
}

body.animeflv-theme .aflv-page-body h2,
body.animeflv-theme .aflv-page-content h2 {
    margin: 28px 0 10px;
    color: #3b4248;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

body.animeflv-theme .aflv-page-body h3,
body.animeflv-theme .aflv-page-content h3 {
    margin: 22px 0 8px;
    color: #3b4248;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
}

body.animeflv-theme .aflv-page-body strong,
body.animeflv-theme .aflv-page-content strong {
    color: #3b4248;
    font-weight: 700;
}

body.animeflv-theme .aflv-page-body a,
body.animeflv-theme .aflv-page-content a {
    color: var(--aflv-blue);
    text-decoration: underline;
}

body.animeflv-theme .aflv-page-body a:hover,
body.animeflv-theme .aflv-page-content a:hover {
    color: #0099c7;
}

body.animeflv-theme .aflv-page-body ul,
body.animeflv-theme .aflv-page-body ol,
body.animeflv-theme .aflv-page-content ul,
body.animeflv-theme .aflv-page-content ol {
    margin: 0 0 14px 20px;
    padding: 0;
}

body.animeflv-theme .aflv-page-body li,
body.animeflv-theme .aflv-page-content li {
    margin: 0 0 6px;
}

@media (max-width: 768px) {
    body.animeflv-theme .aflv-page-content {
        padding: 20px 18px 24px;
    }

    body.animeflv-theme .aflv-page-title {
        font-size: 20px;
    }

    body.animeflv-theme footer.main,
    body.animeflv-theme footer.aflv-footer {
        padding: 18px 0 22px;
    }

    body.animeflv-theme .aflv-footer-links ul,
    body.animeflv-theme .aflv-footer-links .aflv-footer-menu {
        gap: 6px;
    }

    body.animeflv-theme .aflv-footer-links a {
        font-size: 12px;
        padding: 7px 12px;
    }
}

/* --------------------------------------------------------------------------
   Login dropdown
   -------------------------------------------------------------------------- */

body.animeflv-theme .login_box {
    position: absolute !important;
    top: 62px;
    left: 50% !important;
    right: auto !important;
    width: var(--aflv-wrap) !important;
    max-width: calc(100% - 20px);
    margin: 0 0 0 calc(var(--aflv-wrap) / -2) !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    z-index: 200;
    pointer-events: none;
    display: none;
}

body.animeflv-theme .login_box .box {
    pointer-events: auto;
    float: right !important;
    width: 280px;
    margin: 0 10px 0 0;
    padding: 18px 18px 16px !important;
    background: #fff !important;
    border-radius: 6px !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22) !important;
    overflow: visible;
    position: relative;
}

body.animeflv-theme .login_box .box:after {
    content: "";
    position: absolute;
    top: -7px;
    right: 28px;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #fff;
}

body.animeflv-theme .login_box .box a#c_loginbox {
    display: none !important;
}

body.animeflv-theme .login_box .box h3 {
    float: none !important;
    width: 100%;
    margin: 0 0 14px;
    padding: 0 !important;
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #3b4248;
    text-transform: uppercase;
}

body.animeflv-theme .login_box .box fieldset {
    float: none !important;
    width: 100%;
    position: relative;
    margin: 0 0 10px;
}

body.animeflv-theme .login_box .box fieldset.user,
body.animeflv-theme .login_box .box fieldset.password {
    margin-bottom: 10px;
}

body.animeflv-theme .login_box .box fieldset.submit {
    margin: 4px 0 12px !important;
}

body.animeflv-theme .login_box .box input[type="text"],
body.animeflv-theme .login_box .box input[type="password"] {
    width: 100%;
    height: 40px !important;
    padding: 0 38px 0 12px !important;
    border: 1px solid #d8d8d8 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #333 !important;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    box-shadow: none !important;
}

body.animeflv-theme .login_box .box input[type="text"]:focus,
body.animeflv-theme .login_box .box input[type="password"]:focus {
    border-color: var(--aflv-blue) !important;
    outline: none;
}

body.animeflv-theme .login_box .box fieldset i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #c0c4c8;
    font-size: 13px;
    pointer-events: none;
}

body.animeflv-theme .login_box .box input[type="submit"],
body.animeflv-theme .login_box .box input[type="submit"]:hover,
body.animeflv-theme .login_box .box input[type="submit"]:focus {
    width: 100%;
    height: 40px !important;
    padding: 0 !important;
    margin: 0;
    background: var(--aflv-blue) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 4px !important;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    cursor: pointer;
}

body.animeflv-theme .login_box .box input[type="submit"]:hover {
    background: #00a8d4 !important;
}

body.animeflv-theme .login_box .box label,
body.animeflv-theme .login_box .facebook,
body.animeflv-theme .login_box .fb-login,
body.animeflv-theme .login_box a[href*="facebook"],
body.animeflv-theme .login_box .nsl-container,
body.animeflv-theme .login_box .btn-facebook {
    display: none !important;
}

body.animeflv-theme .aflv-login-panel {
    display: none;
}

body.animeflv-theme .aflv-login-panel.is-active {
    display: block;
}

body.animeflv-theme .aflv-login-msg {
    min-height: 0;
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.35;
    color: #c0392b;
}

body.animeflv-theme .aflv-login-msg .success {
    color: #1aa34a;
}

body.animeflv-theme .aflv-login-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

body.animeflv-theme .login_box.is-alt .aflv-login-links {
    justify-content: center;
}

body.animeflv-theme .login_box .box a.register,
body.animeflv-theme .login_box .box a.register:hover,
body.animeflv-theme .aflv-back-login,
body.animeflv-theme .aflv-back-login:hover {
    float: none !important;
    width: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    text-align: left;
    color: var(--aflv-blue) !important;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
}

body.animeflv-theme .login_box .box a.pteks,
body.animeflv-theme .login_box .box a.pteks:hover {
    float: none !important;
    color: #888 !important;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    text-align: right;
}

body.animeflv-theme .aflv-back-login {
    display: none !important;
}

body.animeflv-theme .login_box.is-alt .aflv-login-links a.register,
body.animeflv-theme .login_box.is-alt .aflv-login-links a.pteks {
    display: none !important;
}

body.animeflv-theme .login_box.is-alt .aflv-back-login {
    display: inline !important;
}

@media (max-width: 1180px) {
    body.animeflv-theme .login_box {
        left: 10px !important;
        margin-left: 0 !important;
        width: calc(100% - 20px) !important;
    }
}

@media (max-width: 1024px) {
    body.animeflv-theme .login_box {
        position: fixed !important;
        top: 70px;
        left: 50% !important;
        width: 280px !important;
        margin-left: -140px !important;
        pointer-events: auto;
    }

    body.animeflv-theme .login_box .box {
        float: none !important;
        width: 100%;
        margin: 0;
    }
}

/* --------------------------------------------------------------------------
   Pagination / leftover DooPlay modules
   -------------------------------------------------------------------------- */

body.animeflv-theme .pagination {
    margin: 20px 0 0;
    text-align: center;
}

body.animeflv-theme .pagination span.current,
body.animeflv-theme .pagination a:hover {
    background: var(--aflv-blue) !important;
    color: #fff !important;
    border-color: var(--aflv-blue) !important;
}

body.animeflv-theme .letter_home,
body.animeflv-theme .load_modules,
body.animeflv-theme .nav_items_module,
body.animeflv-theme header.main .top-page {
    display: none !important;
}

body.animeflv-theme.animeflv-home .module .sidebar,
body.animeflv-theme.home .letter_home {
    display: none !important;
}

/* Convert remaining DooPlay .module archives */
body.animeflv-theme .module {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    max-width: var(--aflv-wrap);
    margin: 0 auto;
}

body.animeflv-theme .module .content,
body.animeflv-theme .module .content.right,
body.animeflv-theme .module .content.left,
body.animeflv-theme .module .content.full {
    float: none !important;
    width: auto !important;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 !important;
}

body.animeflv-theme .module .sidebar,
body.animeflv-theme .module .sidebar.right,
body.animeflv-theme .module .sidebar.left {
    float: none !important;
    order: -1;
    width: var(--aflv-sidebar) !important;
    flex: 0 0 var(--aflv-sidebar);
    padding: 0 !important;
    background: transparent !important;
}

body.animeflv-theme .module .content header h1,
body.animeflv-theme .module .content header h2,
body.animeflv-theme .heading-archive {
    border: 0 !important;
    color: #4d4d4d !important;
    font-size: 20px !important;
    font-weight: 500 !important;
}

body.animeflv-theme .items .item {
    background: transparent;
}

body.animeflv-theme .widget-title,
body.animeflv-theme .sidebar aside.widget h2.widget-title {
    color: #4d4d4d;
    font-size: 15px;
    text-transform: uppercase;
    border: 0;
}

body.animeflv-theme #single .sgeneros a:hover,
body.animeflv-theme a.link_a:hover {
    color: var(--aflv-blue) !important;
}

body.animeflv-theme .aflv-empty {
    padding: 12px;
    color: var(--aflv-muted);
}

body.animeflv-theme #archive-content.items {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 14px;
}

body.animeflv-theme #archive-content.items .item {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* Hide owl leftover chrome on home */
body.animeflv-theme.animeflv-home #dt-episodes,
body.animeflv-theme.animeflv-home #dt-tvshows,
body.animeflv-theme.animeflv-home #featured-titles,
body.animeflv-theme.animeflv-home #slider-movies,
body.animeflv-theme.animeflv-home #slider-tvshows {
    display: none !important;
}

/* --------------------------------------------------------------------------
   Single pages â€” keep player, match palette
   -------------------------------------------------------------------------- */

body.animeflv-theme #single.dtsingle .sheader .data h1 {
    color: #333;
}

body.animeflv-theme #single .sgeneros a {
    background: var(--aflv-blue);
    color: #fff;
    border-radius: 3px;
}

body.animeflv-theme .dooplay_player .options ul li:hover span.title,
body.animeflv-theme #seasons .se-c .se-q span.se-o {
    color: var(--aflv-blue);
}

body.animeflv-theme #seasons .se-c .se-q span.se-o {
    background: var(--aflv-blue);
    color: #fff;
}

body.animeflv-theme p.form-submit input[type="submit"],
body.animeflv-theme a.see_all,
body.animeflv-theme span.item_type {
    background: var(--aflv-blue) !important;
    border-color: var(--aflv-blue) !important;
}

body.animeflv-theme #info.sbox h2 {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    color: #333;
}

body.animeflv-theme .aflv-seasons {
    list-style: none;
    margin: 14px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid #ececec;
}

body.animeflv-theme .aflv-seasons li {
    margin: 0;
    padding: 0;
}

body.animeflv-theme .aflv-seasons a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    color: #222;
    text-decoration: none !important;
    line-height: 1.35;
}

body.animeflv-theme .aflv-seasons-play {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #00aeed;
    position: relative;
}

body.animeflv-theme .aflv-seasons-play::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 4px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #fff;
}

body.animeflv-theme .aflv-seasons-title {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: #222;
}

body.animeflv-theme .aflv-seasons-type {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #9da1a4;
}

body.animeflv-theme .aflv-seasons a:hover .aflv-seasons-title {
    color: #00aeed;
}

/* --------------------------------------------------------------------------
   Responsive header (DooPlay mobile bar)
   -------------------------------------------------------------------------- */

body.animeflv-theme header.responsive {
    background: var(--aflv-header) !important;
}

body.animeflv-theme header.responsive .logo img.aflv-logo-img {
    height: 36px;
    width: auto;
}

body.animeflv-theme .menuresp .menu .user a.ctgs {
    background: var(--aflv-blue);
}

body.animeflv-theme header#header.main .headitems.register_active {
    width: auto !important;
}

/* --------------------------------------------------------------------------
   Directorio /browse
   -------------------------------------------------------------------------- */

body.animeflv-theme.aflv-browse-page #contenedor {
    margin-top: 18px !important;
}

body.animeflv-theme .aflv-browse {
    width: 100%;
    overflow: visible;
}

body.animeflv-theme .aflv-browse-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 18px 14px;
    overflow: visible;
}

body.animeflv-theme .aflv-browse-grid .aflv-poster {
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 4px;
}

body.animeflv-theme .aflv-browse-grid .aflv-poster-media {
    border-radius: 4px;
}

body.animeflv-theme .aflv-browse .aflv-head {
    margin-bottom: 16px;
}

body.animeflv-theme .aflv-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 28px;
    position: relative;
    z-index: 30;
    overflow: visible;
}

body.animeflv-theme .aflv-dd {
    position: relative;
}

body.animeflv-theme .aflv-dd.is-open {
    z-index: 50;
}

body.animeflv-theme .aflv-dd-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    height: 34px;
    min-width: 148px;
    padding: 0 10px 0 14px;
    border: 0;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    color: #555;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
}

body.animeflv-theme .aflv-dd-toggle img {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    transition: transform 0.32s ease;
}

body.animeflv-theme .aflv-dd.is-open .aflv-dd-toggle img {
    transform: rotate(180deg);
}

body.animeflv-theme .aflv-dd-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 40;
    background: #fff;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
    padding: 16px 18px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0);
    transform-origin: 50% 50%;
    transition: transform 0.32s ease, opacity 0.32s ease, visibility 0.32s ease;
}

body.animeflv-theme .aflv-dd-panel.is-wide {
    display: grid;
    gap: 8px 28px;
    width: max-content;
    max-width: calc(100vw - 40px);
    padding: 16px 20px;
}

body.animeflv-theme .aflv-dd-panel.is-stacked {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
}

body.animeflv-theme .aflv-dd-panel:not(.is-wide) {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px;
}

body.animeflv-theme .aflv-dd.is-open .aflv-dd-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
}

body.animeflv-theme .aflv-dd-panel label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 1px 0;
    color: #4a4a4a;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    white-space: nowrap;
    cursor: pointer;
}

body.animeflv-theme .aflv-dd-panel label:hover {
    color: #111;
}

body.animeflv-theme .aflv-dd-panel label:has(input:checked) {
    color: var(--aflv-blue);
}

body.animeflv-theme .aflv-dd-panel input[type="checkbox"],
body.animeflv-theme .aflv-dd-panel input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    margin: 0;
    flex: 0 0 12px;
    border: 0;
    outline: none;
    border-radius: 2px;
    background-color: #e4e4e4;
    background-image: none;
    box-shadow: none;
    cursor: pointer;
}

body.animeflv-theme .aflv-dd-panel input[type="radio"] {
    border-radius: 50%;
}

body.animeflv-theme .aflv-dd-panel input:checked {
    background-color: var(--aflv-blue);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 9px 9px;
    border: 0;
    box-shadow: none;
}

body.animeflv-theme .aflv-filters > button[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 16px;
    border: 0;
    border-radius: 6px;
    background: var(--aflv-blue);
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 193, 243, 0.35);
}

body.animeflv-theme .aflv-filters > button[type="submit"] i {
    font-size: 12px;
}

body.animeflv-theme .aflv-filters > button[type="submit"]:hover {
    background: #00a8d4;
}

body.animeflv-theme .aflv-browse-grid .aflv-estreno {
    display: none !important;
}

body.animeflv-theme .aflv-browse-grid article.aflv-anime h3 {
    margin: 8px 0 0 !important;
    padding: 0 2px !important;
    color: #111 !important;
    font-family: "Open Sans", sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.animeflv-theme .aflv-browse-empty {
    grid-column: 1 / -1;
    margin: 20px 0;
    color: #777;
    text-align: center;
}

body.animeflv-theme .aflv-pager {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin: 28px 0 8px;
}

body.animeflv-theme .aflv-pager a,
body.animeflv-theme .aflv-pager span {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    line-height: 32px;
    text-align: center;
    border: 1px solid #d8d8d8;
    background: #fff;
    color: var(--aflv-blue);
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

body.animeflv-theme .aflv-pager a:hover,
body.animeflv-theme .aflv-pager span.current {
    background: var(--aflv-blue);
    border-color: var(--aflv-blue);
    color: #fff;
}

body.animeflv-theme .aflv-pager .aflv-pager-dots {
    border: 0;
    background: transparent;
    color: #888;
    min-width: 20px;
}

body.animeflv-theme .aflv-pager .aflv-pager-arrow.is-disabled {
    color: #bbb;
    cursor: default;
}

@media (max-width: 1024px) {
    body.animeflv-theme .aflv-head-right {
        gap: 16px;
    }

    body.animeflv-theme .head-main-nav ul.main-header > li {
        margin-right: 16px !important;
    }

    body.animeflv-theme .aflv-episodes,
    body.animeflv-theme .aflv-animes {
        grid-template-columns: repeat(3, 1fr);
    }

    body.animeflv-theme .aflv-browse-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    body.animeflv-theme .aflv-dd-panel.is-wide {
        min-width: 0;
        width: max-content;
        max-width: calc(100vw - 24px);
    }

    body.animeflv-theme .aflv-animes:not(.aflv-browse-grid) article.aflv-anime:nth-child(4n) .aflv-anime-hover {
        left: calc(100% - 18px);
        right: auto;
        transform: translateX(8px);
    }

    body.animeflv-theme .aflv-animes:not(.aflv-browse-grid) article.aflv-anime:nth-child(4n) .aflv-anime-hover:before {
        left: -8px;
        right: auto;
    }

    body.animeflv-theme .aflv-animes:not(.aflv-browse-grid) article.aflv-anime:nth-child(3n) .aflv-anime-hover,
    body.animeflv-theme .aflv-browse-grid article.aflv-anime:nth-child(4n) .aflv-anime-hover {
        left: auto;
        right: calc(100% - 18px);
        transform: translateX(-8px);
    }

    body.animeflv-theme .aflv-animes:not(.aflv-browse-grid) article.aflv-anime:nth-child(3n) .aflv-anime-hover:before,
    body.animeflv-theme .aflv-browse-grid article.aflv-anime:nth-child(4n) .aflv-anime-hover:before {
        left: auto;
        right: -8px;
    }

    body.animeflv-theme .aflv-animes:not(.aflv-browse-grid) article.aflv-anime:nth-child(3n):hover .aflv-anime-hover,
    body.animeflv-theme .aflv-browse-grid article.aflv-anime:nth-child(4n):hover .aflv-anime-hover {
        transform: translateX(0);
    }
}

@media (max-width: 880px) {
    body.animeflv-theme .aflv-wrap,
    body.animeflv-theme .module {
        flex-direction: column;
    }

    body.animeflv-theme .aflv-sidebar,
    body.animeflv-theme .module .sidebar,
    body.animeflv-theme .module .sidebar.right,
    body.animeflv-theme .module .sidebar.left {
        width: 100% !important;
        flex: 1 1 auto;
        order: 2;
    }

    body.animeflv-theme .aflv-episodes,
    body.animeflv-theme .aflv-animes {
        grid-template-columns: repeat(2, 1fr);
    }

    body.animeflv-theme .aflv-browse-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    body.animeflv-theme .aflv-animes:not(.aflv-browse-grid) article.aflv-anime:nth-child(3n) .aflv-anime-hover {
        left: calc(100% - 18px);
        right: auto;
        transform: translateX(8px);
    }

    body.animeflv-theme .aflv-animes:not(.aflv-browse-grid) article.aflv-anime:nth-child(3n) .aflv-anime-hover:before {
        left: -8px;
        right: auto;
    }

    body.animeflv-theme .aflv-animes:not(.aflv-browse-grid) article.aflv-anime:nth-child(2n) .aflv-anime-hover,
    body.animeflv-theme .aflv-browse-grid article.aflv-anime:nth-child(3n) .aflv-anime-hover {
        left: auto;
        right: calc(100% - 18px);
        transform: translateX(-8px);
    }

    body.animeflv-theme .aflv-animes:not(.aflv-browse-grid) article.aflv-anime:nth-child(2n) .aflv-anime-hover:before,
    body.animeflv-theme .aflv-browse-grid article.aflv-anime:nth-child(3n) .aflv-anime-hover:before {
        left: auto;
        right: -8px;
    }

    body.animeflv-theme .aflv-animes:not(.aflv-browse-grid) article.aflv-anime:nth-child(2n):hover .aflv-anime-hover,
    body.animeflv-theme .aflv-browse-grid article.aflv-anime:nth-child(3n):hover .aflv-anime-hover {
        transform: translateX(0);
    }
}

@media (max-width: 480px) {
    body.animeflv-theme .aflv-episodes {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    body.animeflv-theme .aflv-animes {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    body.animeflv-theme .aflv-head h2 {
        font-size: 25px !important;
        line-height: 30px !important;
    }

    body.animeflv-theme .aflv-promo {
        font-size: 12px;
    }
}

/* --------------------------------------------------------------------------
   Series page â€” AnimeFLV
   -------------------------------------------------------------------------- */

body.animeflv-theme.aflv-series-page,
body.animeflv-theme.aflv-movie-page {
    overflow-x: hidden;
}

body.animeflv-theme.aflv-series-page #contenedor,
body.animeflv-theme.aflv-movie-page #contenedor {
    max-width: none !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 0 30px !important;
    overflow: visible;
}

body.animeflv-theme .aflv-series {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    width: 100%;
    max-width: var(--aflv-wrap);
    margin: 0 auto;
    padding: 0 10px 24px;
    position: relative;
    box-sizing: border-box;
}

body.animeflv-theme .aflv-series-hero {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 260px;
    margin-left: -50vw;
    background: #1b1f23;
    background-size: cover;
    background-position: center center;
    z-index: 0;
}

body.animeflv-theme .aflv-series-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.2) 100%);
}

body.animeflv-theme .aflv-series-aside,
body.animeflv-theme .aflv-series-main {
    position: relative;
    z-index: 1;
}

body.animeflv-theme .aflv-series-aside {
    padding-top: 68px;
}

body.animeflv-theme .aflv-series-poster {
    overflow: hidden;
    padding: 6px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body.animeflv-theme .aflv-series-poster img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

body.animeflv-theme .aflv-series-status {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 12px 0 10px;
    padding: 0 44px;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.4px;
    height: 48px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

body.animeflv-theme .aflv-series-status .aflv-ico.is-status {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    background: transparent;
    border-radius: 0;
}

body.animeflv-theme .aflv-series-status .aflv-ico.is-status::after {
    width: 30px;
    height: 30px;
    background: #fff;
    -webkit-mask: url("../img/monitor.svg") center / contain no-repeat;
    mask: url("../img/monitor.svg") center / contain no-repeat;
}

body.animeflv-theme .aflv-series-status.is-ended {
    background: #e74c3c;
}

body.animeflv-theme .aflv-series-status.is-airing {
    background: #00b148;
}

body.animeflv-theme .aflv-side-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

body.animeflv-theme .aflv-series-action {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-height: 58px;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 5px;
    color: #333;
    font-family: "Open Sans", sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: color 0.15s ease;
}

body.animeflv-theme .aflv-series-action {
    position: relative;
}

body.animeflv-theme .aflv-series-action.is-full {
    grid-column: 1 / -1;
    justify-content: center;
    min-height: 50px;
    padding-left: 48px;
}

/* Estado "ya está en tu lista": el botón se rellena con su color */
body.animeflv-theme .aflv-series-action.aflv-fav.in-list {
    background: #e74c3c;
}

body.animeflv-theme .aflv-series-action.aflv-follow.is-on {
    background: #00c1f3;
}

body.animeflv-theme .aflv-series-action.aflv-wait.is-on {
    background: #e8c547;
}

body.animeflv-theme .aflv-series-action.in-list,
body.animeflv-theme .aflv-series-action.is-on,
body.animeflv-theme .aflv-series-action.in-list:hover,
body.animeflv-theme .aflv-series-action.is-on:hover {
    color: #fff !important;
}

body.animeflv-theme .aflv-series-action.in-list .aflv-ico,
body.animeflv-theme .aflv-series-action.is-on .aflv-ico {
    background: #fff !important;
    border-color: #fff !important;
}

body.animeflv-theme .aflv-series-action.aflv-fav.in-list .aflv-ico::after {
    background: #e74c3c;
}

body.animeflv-theme .aflv-series-action.aflv-follow.is-on .aflv-ico i {
    color: #00c1f3 !important;
}

body.animeflv-theme .aflv-series-action.aflv-wait.is-on .aflv-ico::after {
    background: #e8c547;
}

body.animeflv-theme .aflv-series-action.aflv-wait .aflv-ico.is-wait {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

body.animeflv-theme .aflv-ico {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

body.animeflv-theme .aflv-ico::after {
    content: "";
    width: 15px;
    height: 15px;
    display: block;
}

body.animeflv-theme .aflv-ico.is-heart {
    background: #e74c3c;
}

body.animeflv-theme .aflv-ico.is-heart::after {
    background: #fff;
    -webkit-mask: url("../img/heart.svg") center / contain no-repeat;
    mask: url("../img/heart.svg") center / contain no-repeat;
}

body.animeflv-theme .aflv-ico.is-follow {
    background: #00c1f3;
}

body.animeflv-theme .aflv-ico.is-follow::after {
    display: none;
}

body.animeflv-theme .aflv-ico.is-follow i {
    color: #fff !important;
    font-size: 14px;
    line-height: 1;
}

body.animeflv-theme .aflv-ico.is-wait {
    background: #fff;
    border: 2px solid #e8c547;
    box-sizing: border-box;
    transition: background 0.15s ease, border-color 0.15s ease;
}

body.animeflv-theme .aflv-ico.is-wait::after {
    width: 14px;
    height: 14px;
    background: #e8c547;
    -webkit-mask: url("../img/bookmark.svg") center / contain no-repeat;
    mask: url("../img/bookmark.svg") center / contain no-repeat;
    transition: background 0.15s ease;
}

body.animeflv-theme .aflv-act-txt {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: inherit;
}

body.animeflv-theme .aflv-act-txt b {
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

body.animeflv-theme .aflv-series-action.is-full .aflv-act-txt {
    flex-direction: row;
}

body.animeflv-theme .aflv-series-action.aflv-fav:hover,
body.animeflv-theme .aflv-series-action.aflv-fav.in-list {
    color: #e74c3c;
}

body.animeflv-theme .aflv-series-action.aflv-follow:hover,
body.animeflv-theme .aflv-series-action.aflv-follow.is-on {
    color: #00c1f3;
}

body.animeflv-theme .aflv-series-action.aflv-wait:hover,
body.animeflv-theme .aflv-series-action.aflv-wait.is-on {
    color: #e8c547;
}

body.animeflv-theme .aflv-series-action.aflv-wait:hover .aflv-ico.is-wait,
body.animeflv-theme .aflv-series-action.aflv-wait.is-on .aflv-ico.is-wait {
    background: #e8c547;
    border-color: #e8c547;
}

body.animeflv-theme .aflv-series-action.aflv-wait:hover .aflv-ico.is-wait::after,
body.animeflv-theme .aflv-series-action.aflv-wait.is-on .aflv-ico.is-wait::after {
    background: #fff;
}

body.animeflv-theme .aflv-followers {
    background: #fff;
    border-radius: 6px;
    padding: 12px;
    margin: 10px 0 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

body.animeflv-theme .aflv-followers p {
    margin: 0 0 10px;
    padding: 0 0 8px;
    border-bottom: 1px solid #eee;
    color: #555;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
}

body.animeflv-theme .aflv-followers b {
    color: #00aeed;
    font-weight: 700;
}

body.animeflv-theme .aflv-followers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

body.animeflv-theme .aflv-followers-grid li {
    min-width: 0;
}

body.animeflv-theme .aflv-followers-grid img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 3px;
}

body.animeflv-theme .aflv-ficha {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    min-height: 260px;
    margin: 0 0 14px;
    padding: 0 4px 22px 0;
    box-sizing: border-box;
}

body.animeflv-theme .aflv-ficha-head {
    min-width: 0;
    flex: 1 1 auto;
}

body.animeflv-theme .aflv-ficha h1 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

body.animeflv-theme .aflv-alt-titles {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 0;
}

body.animeflv-theme .aflv-alt-titles span {
    display: inline-block;
    max-width: 100%;
    padding: 3px 10px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.82);
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

body.animeflv-theme .aflv-ficha .aflv-type {
    border-radius: 50px;
    padding: 4px 10px;
    font-size: 10px;
}

body.animeflv-theme .aflv-ficha .aflv-type.tv {
    background: #00aeed;
}

body.animeflv-theme .aflv-vtshr {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-self: center;
    gap: 6px;
    flex: 0 0 auto;
    width: max-content;
}

body.animeflv-theme .aflv-votes {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    width: max-content;
    background: #3a4148;
    border-radius: 4px;
}

body.animeflv-theme .aflv-vt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 10px 14px;
    background: #00c1f3;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

body.animeflv-theme .aflv-votes-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 12px;
}

body.animeflv-theme .aflv-series-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    line-height: 1;
}

body.animeflv-theme .aflv-star {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    border: 0;
    background: #6b6240;
    -webkit-mask: url("../img/star-esfera.svg") center / contain no-repeat;
    mask: url("../img/star-esfera.svg") center / contain no-repeat;
    cursor: pointer;
}

body.animeflv-theme .aflv-star.is-on,
body.animeflv-theme .aflv-star.is-hover {
    background: #f5c518;
}

body.animeflv-theme .aflv-star.is-half {
    background: linear-gradient(90deg, #f5c518 50%, #6b6240 50%);
}

body.animeflv-theme .aflv-votes-meta em {
    color: #fff;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-top: 3px;
}

body.animeflv-theme .aflv-series-share {
    display: flex;
    gap: 5px;
    margin: 0;
    width: 100%;
}

body.animeflv-theme .aflv-series-share a {
    display: inline-block;
    flex: 1;
    text-align: center;
    background: #fff !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 6px 8px 5px;
    border: 0;
    border-radius: 3px;
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.animeflv-theme .aflv-series-share a:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
}

body.animeflv-theme .aflv-series-share a.is-fb {
    color: #3b5998 !important;
    border-bottom: 3px solid #3b5998;
}

body.animeflv-theme .aflv-series-share a.is-tw {
    color: #1da1f2 !important;
    border-bottom: 3px solid #1da1f2;
}

body.animeflv-theme .aflv-series-card {
    background: #fff;
    border-radius: 6px;
    padding: 16px 18px 18px;
    margin: 0 0 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

body.animeflv-theme .aflv-series-card h2 {
    margin: 0 0 12px;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

body.animeflv-theme .aflv-series-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 12px;
}

body.animeflv-theme .aflv-series-genres a {
    display: inline-block;
    background: #e6f8fe;
    color: #00c1f3 !important;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    padding: 6px 12px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease;
}

body.animeflv-theme .aflv-series-genres a:hover {
    background: #00aeed;
    color: #fff !important;
}

body.animeflv-theme .aflv-series-syn,
body.animeflv-theme .aflv-series-syn p {
    color: #666;
    font-size: 13px;
    line-height: 1.55;
}

body.animeflv-theme .aflv-eps-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 8px;
}

body.animeflv-theme .aflv-eps-head h2 {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    font-style: normal;
    line-height: 30px;
    color: #3b4248;
}

body.animeflv-theme .aflv-eps-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

body.animeflv-theme .aflv-ep-sort {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #00aeed;
    color: #fff;
    border: 0;
    border-radius: 4px;
    padding: 7px 12px;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

body.animeflv-theme .aflv-ep-sort .aflv-sort-ico {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    background: #fff;
}

body.animeflv-theme .aflv-ep-sort .aflv-sort-desc {
    -webkit-mask: url("../img/arrow-up.svg") center / contain no-repeat;
    mask: url("../img/arrow-up.svg") center / contain no-repeat;
}

body.animeflv-theme .aflv-ep-sort .aflv-sort-asc {
    display: none;
    -webkit-mask: url("../img/arrow-down.svg") center / contain no-repeat;
    mask: url("../img/arrow-down.svg") center / contain no-repeat;
}

body.animeflv-theme .aflv-ep-sort.is-asc .aflv-sort-desc {
    display: none;
}

body.animeflv-theme .aflv-ep-sort.is-asc .aflv-sort-asc {
    display: block;
}

body.animeflv-theme .aflv-ep-search {
    width: 160px;
    height: 32px;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 13px;
    background: #fff;
}

body.animeflv-theme .aflv-ep-scroll {
    max-height: calc(10 * 89px);
    overflow: hidden;
}

body.animeflv-theme .aflv-ep-list {
    list-style: none;
    margin: -18px 0;
    padding: 18px 16px 18px 0;
    max-height: calc(10 * 89px + 36px);
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #00aeed transparent;
}

body.animeflv-theme .aflv-ep-list::-webkit-scrollbar {
    width: 4px;
}

body.animeflv-theme .aflv-ep-list::-webkit-scrollbar-track {
    background: transparent;
}

body.animeflv-theme .aflv-ep-list::-webkit-scrollbar-thumb {
    background: #00aeed;
    border-radius: 4px;
}

body.animeflv-theme .aflv-ep-list::-webkit-scrollbar-button,
body.animeflv-theme .aflv-ep-list::-webkit-scrollbar-button:start:decrement,
body.animeflv-theme .aflv-ep-list::-webkit-scrollbar-button:end:increment,
body.animeflv-theme .aflv-ep-list::-webkit-scrollbar-button:vertical:start:increment,
body.animeflv-theme .aflv-ep-list::-webkit-scrollbar-button:vertical:end:decrement,
body.animeflv-theme .aflv-ep-list::-webkit-scrollbar-button:vertical:start:decrement,
body.animeflv-theme .aflv-ep-list::-webkit-scrollbar-button:vertical:end:increment,
body.animeflv-theme .aflv-ep-list::-webkit-scrollbar-button:vertical:decrement,
body.animeflv-theme .aflv-ep-list::-webkit-scrollbar-button:vertical:increment {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

body.animeflv-theme .aflv-ep-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

body.animeflv-theme .aflv-ep-main {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    padding: 8px 0;
    color: #333;
    text-decoration: none !important;
}

body.animeflv-theme .aflv-ep-thumb {
    flex: 0 0 128px;
    width: 128px;
    height: 72px;
    overflow: hidden;
    background: #ececec;
    border-radius: 3px;
}

body.animeflv-theme .aflv-ep-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.animeflv-theme .aflv-ep-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

body.animeflv-theme .aflv-ep-copy strong {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    font-style: normal;
    line-height: 18px;
    color: #000;
}

body.animeflv-theme .aflv-ep-copy em {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    font-style: normal;
    line-height: 18px;
    color: #9da1a4;
}

body.animeflv-theme .aflv-ep-main:hover .aflv-ep-copy strong {
    color: #00aeed;
}

body.animeflv-theme .aflv-ep-seen {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    flex: 0 0 auto;
    background: none;
    border: 0;
    padding: 0 6px 0 0;
    margin-right: 6px;
    cursor: pointer;
}

body.animeflv-theme .aflv-ep-seen em {
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #9da1a4;
    white-space: nowrap;
    text-align: center;
}

body.animeflv-theme .aflv-switch {
    display: block;
    width: 100%;
    height: 22px;
    background: #d0d0d0;
    border-radius: 50px;
    position: relative;
}

body.animeflv-theme .aflv-switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
}

body.animeflv-theme .aflv-ep-seen.is-on em {
    color: #00aeed;
}

body.animeflv-theme .aflv-ep-seen.is-on .aflv-switch {
    background: #00aeed;
}

body.animeflv-theme .aflv-ep-seen.is-on .aflv-switch::after {
    left: auto;
    right: 2px;
}

body.animeflv-theme .aflv-series-empty {
    color: #888;
    font-size: 13px;
    margin: 8px 0 0;
}

body.animeflv-theme .aflv-series-comments {
    overflow: hidden;
}

body.animeflv-theme .aflv-series-comments #comments,
body.animeflv-theme .aflv-series-comments .aflv-comments,
body.animeflv-theme .aflv-series-comments .comment-respond,
body.animeflv-theme .aflv-series-comments .aflv-comment-form {
    float: none !important;
    width: 100% !important;
    max-width: 100%;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.animeflv-theme .aflv-comment-compose {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 4px;
    border-bottom: 1px solid #ececec;
}

body.animeflv-theme .aflv-comment-avatar {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 4px;
    background: #e6e6e6;
}

body.animeflv-theme .aflv-comment-avatar img {
    display: block;
    width: 50px;
    height: 50px;
    max-width: 50px;
    border-radius: 4px;
    object-fit: cover;
}

body.animeflv-theme .aflv-comment-fields {
    flex: 1;
    min-width: 0;
}

body.animeflv-theme .aflv-comment-fields textarea,
body.animeflv-theme .aflv-comment-guest input {
    display: block;
    width: 100%;
    margin: 0;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    background: #f7f7f7;
    color: #333;
    font-family: "Open Sans", sans-serif;
    box-shadow: none;
}

body.animeflv-theme .aflv-comment-fields textarea {
    min-height: 74px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.45;
    resize: vertical;
}

body.animeflv-theme .aflv-comment-fields textarea:focus,
body.animeflv-theme .aflv-comment-guest input:focus {
    outline: 0;
    border-color: #00c1f3;
    background: #fff;
}

body.animeflv-theme .aflv-comment-guest {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}

body.animeflv-theme .aflv-comment-guest input {
    height: 38px;
    padding: 0 10px;
    font-size: 13px;
}

body.animeflv-theme .aflv-comment-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

body.animeflv-theme .aflv-comment-submit,
body.animeflv-theme .aflv-series-comments p.form-submit input[type="submit"] {
    display: inline-block;
    margin: 0;
    padding: 8px 18px;
    border: 0;
    border-radius: 4px;
    background: #00c1f3 !important;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    line-height: 1;
    cursor: pointer;
}

body.animeflv-theme .aflv-comment-submit:hover {
    background: #00aee0 !important;
}

body.animeflv-theme .aflv-reply-title {
    display: none;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    padding: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #555;
}

body.animeflv-theme .aflv-comment .aflv-reply-title {
    display: flex;
}

body.animeflv-theme .aflv-reply-title #cancel-comment-reply-link {
    font-weight: 400;
    color: #00c1f3;
}

body.animeflv-theme .aflv-comments-empty {
    margin: 12px 0 0;
    color: #888;
    font-size: 13px;
}

body.animeflv-theme .aflv-comment-list,
body.animeflv-theme .aflv-comment-list .children {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.animeflv-theme .aflv-comment-list > .aflv-comment {
    padding: 14px 0;
    border-bottom: 1px solid #ececec;
}

body.animeflv-theme .aflv-comment-list > .aflv-comment:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

body.animeflv-theme .aflv-comment-body {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

body.animeflv-theme .aflv-comment-content {
    flex: 1;
    min-width: 0;
}

body.animeflv-theme .aflv-comment-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

body.animeflv-theme .aflv-comment-author {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

body.animeflv-theme .aflv-comment-date {
    font-size: 12px;
    color: #999;
}

body.animeflv-theme .aflv-comment-meta .comment-reply-link {
    margin-left: auto;
    padding: 3px 8px;
    border-radius: 3px;
    background: #f0f0f0;
    color: #666 !important;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

body.animeflv-theme .aflv-comment-meta .comment-reply-link:hover {
    background: #00c1f3;
    color: #fff !important;
}

body.animeflv-theme .aflv-comment-text,
body.animeflv-theme .aflv-comment-text p {
    margin: 0;
    color: #444;
    font-size: 13px;
    line-height: 1.55;
}

body.animeflv-theme .aflv-comment-text p + p {
    margin-top: 8px;
}

body.animeflv-theme .aflv-comment-mod {
    display: block;
    margin: 0 0 6px;
    color: #e67e22;
    font-size: 12px;
}

body.animeflv-theme .aflv-comment-list .children {
    margin: 12px 0 0 28px;
    padding-left: 12px;
    border-left: 2px solid #eee;
}

body.animeflv-theme .aflv-comment-list .children .aflv-comment {
    padding: 12px 0 0;
    border-bottom: 0;
}

body.animeflv-theme .aflv-comment-list .children .aflv-comment-avatar,
body.animeflv-theme .aflv-comment-list .children .aflv-comment-avatar img {
    width: 36px;
    height: 36px;
    max-width: 36px;
    flex-basis: 36px;
}

body.animeflv-theme .aflv-comment .aflv-comment-respond {
    margin-top: 12px;
}

body.animeflv-theme .aflv-comment .aflv-comment-compose {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

body.animeflv-theme .aflv-comment-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 13px;
}

@media (max-width: 640px) {
    body.animeflv-theme .aflv-comment-guest {
        grid-template-columns: 1fr;
    }

    body.animeflv-theme .aflv-comment-list .children {
        margin-left: 12px;
    }
}

@media (max-width: 860px) {
    body.animeflv-theme .aflv-series {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 100%;
        gap: 14px;
        padding: 0 12px 24px;
        box-sizing: border-box;
    }

    body.animeflv-theme .aflv-series-aside,
    body.animeflv-theme .aflv-series-main {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    body.animeflv-theme .aflv-series-poster {
        max-width: 200px;
        margin: 0 auto;
    }

    body.animeflv-theme .aflv-series-hero {
        height: 160px;
    }

    body.animeflv-theme .aflv-series-aside {
        padding-top: 16px;
    }

    body.animeflv-theme .aflv-side-btns {
        max-width: 420px;
        margin: 0 auto;
    }

    body.animeflv-theme .aflv-followers {
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    body.animeflv-theme .aflv-followers-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    body.animeflv-theme .aflv-ficha {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        margin: 0 0 12px;
        padding: 0 0 12px;
        gap: 12px;
    }

    body.animeflv-theme .aflv-ficha h1 {
        color: #3b4248;
        font-size: 22px;
    }

    body.animeflv-theme .aflv-alt-titles span {
        background: #e8eaec;
        color: #555;
    }

    body.animeflv-theme .aflv-vtshr {
        align-items: stretch;
        align-self: stretch;
        width: 100%;
    }

    body.animeflv-theme .aflv-votes {
        width: 100%;
    }

    body.animeflv-theme .aflv-series-share {
        width: 100%;
    }

    body.animeflv-theme .aflv-series-share a {
        flex: 1 1 0;
        text-align: center;
    }

    body.animeflv-theme .aflv-eps-head {
        flex-direction: column;
        align-items: flex-start;
    }

    body.animeflv-theme .aflv-ep-opts {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.animeflv-theme .aflv-ep-opt {
        flex: 1 0 auto;
        min-width: 88px;
        padding: 12px 10px;
    }

    body.animeflv-theme .aflv-ep-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    body.animeflv-theme .aflv-ep-tools {
        flex-wrap: wrap;
        width: 100%;
    }

    body.animeflv-theme .aflv-ep-report {
        flex: 1 1 auto;
        min-height: 40px;
        justify-content: center;
    }

    body.animeflv-theme .aflv-ep-dl {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }

    body.animeflv-theme .aflv-ep-dls {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.animeflv-theme .aflv-ep-dls table {
        min-width: 480px;
    }
}

@media (max-width: 480px) {
    body.animeflv-theme .aflv-series {
        padding: 0 10px 20px;
        gap: 12px;
    }

    body.animeflv-theme .aflv-series-poster {
        max-width: 160px;
    }

    body.animeflv-theme .aflv-series-status {
        height: 44px;
        font-size: 13px;
        padding: 0 40px;
    }

    body.animeflv-theme .aflv-series-action {
        min-height: 52px;
        padding: 8px;
        font-size: 10px;
        gap: 6px;
    }

    body.animeflv-theme .aflv-ico {
        flex: 0 0 28px;
        width: 28px;
        height: 28px;
    }

    body.animeflv-theme .aflv-act-txt b {
        font-size: 10px;
    }

    body.animeflv-theme .aflv-ficha h1 {
        font-size: 20px;
        gap: 8px;
    }

    body.animeflv-theme .aflv-vt {
        min-width: 48px;
        font-size: 20px;
        padding: 8px 10px;
    }

    body.animeflv-theme .aflv-series-card {
        padding: 14px;
    }

    body.animeflv-theme .aflv-ep-report-txt {
        display: none;
    }

    body.animeflv-theme .aflv-ep-report {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }
}

body.animeflv-theme .aflv-toast {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 100000;
    padding: 12px 18px;
    background: #ef6b6b;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    pointer-events: none;
}

body.animeflv-theme .aflv-toast.is-on {
    opacity: 1;
    visibility: visible;
    transform: none;
}

body.animeflv-theme.aflv-404-page,
body.animeflv-theme.aflv-404-page #dt_contenedor {
    height: 100vh;
    overflow: hidden;
}

body.animeflv-theme.aflv-404-page #dt_contenedor {
    display: flex;
    flex-direction: column;
}

body.animeflv-theme.aflv-404-page #contenedor {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.animeflv-theme .aflv-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 8px 16px 16px;
    text-align: center;
}

body.animeflv-theme .aflv-404 img {
    display: block;
    width: auto;
    max-width: min(400px, 78vw);
    max-height: 42vh;
    height: auto;
    object-fit: contain;
    margin: 0 auto 8px;
}

body.animeflv-theme .aflv-404 h1 {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: #3b4248;
}

body.animeflv-theme .aflv-404 p {
    margin: 6px 0 16px;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    color: #8a8f93;
}

body.animeflv-theme .aflv-404-btn {
    display: inline-block;
    background: #30353b !important;
    color: #fff !important;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    line-height: 1;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none !important;
}

body.animeflv-theme .aflv-404-btn:hover {
    background: #25282c !important;
    color: #fff !important;
}

/* --------------------------------------------------------------------------
   Episode page — AnimeFLV
   -------------------------------------------------------------------------- */

body.animeflv-theme.aflv-episode-page {
    background-color: #f4f4f4 !important;
    background-image: url("../img/bg.jpg") !important;
    background-repeat: repeat !important;
}

body.animeflv-theme.aflv-episode-page #contenedor {
    max-width: 1180px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 18px 16px 40px !important;
    float: none !important;
}

body.animeflv-theme.aflv-episode-page .aflv-episode {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--aflv-sidebar);
    gap: 22px;
    align-items: start;
    max-width: 1180px;
    margin: 0 auto;
}

body.animeflv-theme .aflv-ep-col {
    min-width: 0;
}

body.animeflv-theme.aflv-episode-page.aflv-ep-wide .aflv-episode {
    grid-template-columns: minmax(0, 1fr);
}

body.animeflv-theme .aflv-ep-bc {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 18px;
    color: #b0b4b8;
    font-family: "Open Sans", sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

body.animeflv-theme .aflv-ep-bc a {
    color: #000 !important;
    font-weight: 400;
    text-decoration: none !important;
}

body.animeflv-theme .aflv-ep-bc a:hover {
    color: #00c1f3 !important;
}

body.animeflv-theme .aflv-ep-bc-home i {
    margin-right: 5px;
    color: #00c1f3;
    font-size: 13px;
}

body.animeflv-theme .aflv-ep-bc a:hover .fa-home {
    color: #00c1f3;
}

body.animeflv-theme .aflv-ep-bc-current {
    font-weight: 700;
}

body.animeflv-theme .aflv-ep-bc-sep {
    color: #f5a623;
    font-size: 12px;
    font-weight: 700;
    transform: none;
    width: auto;
    height: auto;
    border: 0;
}

body.animeflv-theme .aflv-ep-head {
    margin: 0 0 16px;
}

body.animeflv-theme .aflv-ep-head h1 {
    margin: 0 0 4px;
    font-family: "Open Sans", sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: #222;
}

body.animeflv-theme .aflv-ep-head p {
    margin: 0;
    font-size: 14px;
    color: #9aa0a6;
}

body.animeflv-theme .aflv-ep-stage {
    position: relative;
    z-index: 95;
    overflow: visible;
    background: transparent;
}

body.animeflv-theme .aflv-ep-opts {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    margin: 0 0 8px;
    overflow: visible;
    background: #2f3438;
    border-radius: 8px;
}

body.animeflv-theme .aflv-ep-opt:first-of-type {
    border-radius: 8px 0 0 8px;
}

body.animeflv-theme .aflv-ep-opt:last-of-type {
    border-radius: 0 8px 8px 0;
}

body.animeflv-theme .aflv-ep-opt {
    position: relative;
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    margin: 0;
    padding: 13px 8px;
    border: 0;
    border-top: 3px solid transparent;
    background: #2f3438;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

body.animeflv-theme .aflv-ep-opt.is-active {
    background: #252a2d;
    border-top-color: #00c1f3;
}

body.animeflv-theme .aflv-ep-tip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 12px);
    z-index: 40;
    padding: 6px 10px;
    background: #000;
    color: #fff;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-50%);
}

body.animeflv-theme .aflv-ep-tip::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    margin-left: -5px;
    border-width: 5px 5px 0;
    border-style: solid;
    border-color: #000 transparent transparent;
}

body.animeflv-theme .aflv-ep-opt:hover .aflv-ep-tip {
    opacity: 1;
}

body.animeflv-theme .aflv-ep-player {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    border-radius: 8px;
}

body.animeflv-theme .aflv-ep-player iframe,
body.animeflv-theme .aflv-ep-player .pframe,
body.animeflv-theme .aflv-ep-player > * {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

body.animeflv-theme .aflv-ep-empty {
    display: flex;
    align-items: flex-start;
    padding: 18px 20px;
    color: #fff;
    font-size: 14px;
}

body.animeflv-theme .aflv-ep-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    z-index: 110;
    gap: 8px;
    margin: 12px 0 28px;
}

body.animeflv-theme .aflv-ep-nav {
    display: inline-flex;
    align-items: stretch;
    overflow: hidden;
    height: 36px;
    background: #2f3438;
    border-radius: 50px;
    gap: 0;
}

body.animeflv-theme .aflv-ep-tools {
    display: flex;
    align-items: center;
    gap: 6px;
}

body.animeflv-theme .aflv-ep-prev,
body.animeflv-theme .aflv-ep-next,
body.animeflv-theme .aflv-ep-nav-list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: auto;
    margin: 0;
    padding: 0 14px;
    background: transparent !important;
    color: #fff !important;
    border: 0;
    border-right: 1px solid rgba(0, 0, 0, 0.28);
    border-radius: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1;
    text-decoration: none !important;
}

body.animeflv-theme .aflv-ep-nav > :last-child {
    border-right: 0;
}

body.animeflv-theme .aflv-ep-prev i,
body.animeflv-theme .aflv-ep-next i {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

body.animeflv-theme .aflv-ep-prev span,
body.animeflv-theme .aflv-ep-next span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

body.animeflv-theme .aflv-ep-nav-list {
    width: 48px;
    padding: 0;
}

body.animeflv-theme .aflv-ep-nav-list-ico {
    display: block;
    width: 24px;
    height: 24px;
    background: #f5a623;
    -webkit-mask: url("../img/list.svg") center / contain no-repeat;
    mask: url("../img/list.svg") center / contain no-repeat;
}

body.animeflv-theme .aflv-ep-prev:hover,
body.animeflv-theme .aflv-ep-next:hover,
body.animeflv-theme .aflv-ep-nav-list:hover {
    background: rgba(255, 255, 255, 0.06) !important;
}

body.animeflv-theme .aflv-ep-report {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px 0 12px;
    background: #fff !important;
    color: #222 !important;
    border: 0;
    border-radius: 50px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.15;
    text-decoration: none !important;
}

body.animeflv-theme .aflv-ep-report i {
    color: #e74c3c;
    font-size: 16px;
}

body.animeflv-theme .aflv-ep-report-txt {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

body.animeflv-theme .aflv-ep-report-txt b {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

body.animeflv-theme .aflv-ep-ico {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    color: #00c1f3;
    font-size: 14px;
    cursor: pointer;
}

body.animeflv-theme .aflv-ep-ico.is-on,
body.animeflv-theme .aflv-ep-ico.aflv-ep-seen.is-on {
    color: #00c1f3;
    border: 0;
}

body.animeflv-theme .aflv-ep-ico:hover .aflv-ep-tip {
    opacity: 1;
}

body.animeflv-theme .aflv-ep-ico .aflv-ep-tip {
    bottom: calc(100% + 6px);
    z-index: 120;
}

body.animeflv-theme .aflv-ep-dl {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    height: 40px;
    padding: 0 18px 0 14px;
    border: 0;
    border-radius: 50px;
    background: #22a745;
    color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    font-family: "Open Sans", sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.15;
    cursor: pointer;
}

body.animeflv-theme .aflv-ep-dl i {
    color: #fff;
    font-size: 16px;
}

body.animeflv-theme .aflv-ep-dl-txt {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

body.animeflv-theme .aflv-ep-dl-txt b {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

body.animeflv-theme .aflv-ep-dl:hover {
    background: #1c8f3a;
}

body.animeflv-theme .aflv-ep-share {
    margin: 0 0 22px;
}

body.animeflv-theme .aflv-ep-share h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 4px;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

body.animeflv-theme .aflv-ep-share h2 i {
    width: 20px;
    color: #00c1f3;
    text-align: center;
}

body.animeflv-theme .aflv-ep-share p {
    margin: 0;
    padding-left: 28px;
    color: #999;
    font-size: 13px;
}

body.animeflv-theme.aflv-lights-off .aflv-ep-stage {
    z-index: 10001;
}

/* Los contenedores de la ficha crean su propio contexto de apilamiento y
   dejarían el reproductor por debajo de la capa oscura. */
body.animeflv-theme.aflv-lights-off .aflv-series,
body.animeflv-theme.aflv-lights-off .aflv-series-main,
body.animeflv-theme.aflv-lights-off .aflv-series-aside {
    z-index: auto;
}

body.animeflv-theme .aflv-account {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 0 40px;
}

body.animeflv-theme .aflv-account-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 18px;
    padding: 20px 22px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

body.animeflv-theme .aflv-account-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

body.animeflv-theme .aflv-account-avatar img {
    display: block;
    width: 74px;
    height: 74px;
    border-radius: 50%;
}

body.animeflv-theme .aflv-account-id h1 {
    margin: 0 0 4px;
    font-family: "Open Sans", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #3b4248;
}

body.animeflv-theme .aflv-account-id p {
    margin: 0;
    color: #999;
    font-size: 13px;
}

body.animeflv-theme .aflv-account-stats {
    display: flex;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.animeflv-theme .aflv-account-stats li {
    text-align: center;
}

body.animeflv-theme .aflv-account-stats b {
    display: block;
    color: #00c1f3;
    font-family: "Open Sans", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

body.animeflv-theme .aflv-account-stats em {
    color: #999;
    font-size: 11px;
    font-style: normal;
    text-transform: uppercase;
}

body.animeflv-theme .aflv-account-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
}

body.animeflv-theme .aflv-account-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    color: #666 !important;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease;
}

body.animeflv-theme .aflv-account-tabs a i {
    color: #00c1f3;
    font-size: 13px;
}

body.animeflv-theme .aflv-account-tabs a span {
    padding: 1px 8px;
    background: #eef2f4;
    border-radius: 50px;
    color: #8a8f93;
    font-size: 11px;
}

body.animeflv-theme .aflv-account-tabs a:hover {
    background: #eef9fd;
}

body.animeflv-theme .aflv-account-tabs a.is-active {
    background: #00c1f3;
    color: #fff !important;
}

body.animeflv-theme .aflv-account-tabs a.is-active i,
body.animeflv-theme .aflv-account-tabs a.is-active span {
    color: #fff;
}

body.animeflv-theme .aflv-account-tabs a.is-active span {
    background: rgba(255, 255, 255, 0.25);
}

body.animeflv-theme .aflv-account-out {
    margin-left: auto;
}

body.animeflv-theme .aflv-account-out i {
    color: #e74c3c !important;
}

body.animeflv-theme .aflv-account-body {
    padding: 20px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

body.animeflv-theme .aflv-account-empty {
    padding: 40px 20px;
    text-align: center;
}

body.animeflv-theme .aflv-account-empty i {
    color: #d8dde0;
    font-size: 40px;
}

body.animeflv-theme .aflv-account-empty p {
    margin: 14px 0 18px;
    color: #999;
    font-size: 14px;
}

body.animeflv-theme .aflv-account-empty a,
body.animeflv-theme .aflv-account-login {
    display: inline-block;
    padding: 10px 22px;
    background: #00c1f3;
    border-radius: 50px;
    color: #fff !important;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}

body.animeflv-theme .aflv-account-empty a:hover,
body.animeflv-theme .aflv-account-login:hover {
    background: #00aeed;
}

body.animeflv-theme .aflv-account-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 22px 0 0;
}

body.animeflv-theme .aflv-account-pager a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    background: #f1f1f1;
    border-radius: 4px;
    color: #666 !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}

body.animeflv-theme .aflv-account-pager a.is-active,
body.animeflv-theme .aflv-account-pager a:hover {
    background: #00c1f3;
    color: #fff !important;
}

body.animeflv-theme .aflv-account-guest {
    max-width: 520px;
    margin: 40px auto;
    padding: 40px 30px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    text-align: center;
}

body.animeflv-theme .aflv-account-guest-ico i {
    color: #00c1f3;
    font-size: 38px;
}

body.animeflv-theme .aflv-account-guest h1 {
    margin: 16px 0 8px;
    font-family: "Open Sans", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #3b4248;
}

body.animeflv-theme .aflv-account-guest p {
    margin: 0 0 20px;
    color: #999;
    font-size: 14px;
}

body.animeflv-theme .aflv-usermenu {
    position: relative;
}

body.animeflv-theme .aflv-usermenu-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 300;
    min-width: 180px;
    padding: 6px 0;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

body.animeflv-theme .aflv-usermenu-panel[hidden] {
    display: none;
}

body.animeflv-theme .aflv-usermenu-panel a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    color: #444 !important;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    text-decoration: none !important;
}

body.animeflv-theme .aflv-usermenu-panel a i {
    width: 16px;
    color: #00c1f3;
    text-align: center;
}

body.animeflv-theme .aflv-usermenu-panel a:hover {
    background: #f3fbfe;
    color: #00c1f3 !important;
}

body.animeflv-theme .aflv-form-title {
    margin: 0 0 18px;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #3b4248;
}

body.animeflv-theme .aflv-form {
    max-width: 520px;
}

body.animeflv-theme .aflv-form label {
    display: block;
    margin: 0 0 14px;
}

body.animeflv-theme .aflv-form label > span {
    display: block;
    margin: 0 0 6px;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #666;
}

body.animeflv-theme .aflv-form input,
body.animeflv-theme .aflv-form textarea {
    display: block;
    width: 100%;
    padding: 10px 12px;
    background: #f7f8f9;
    border: 1px solid #e3e6e8;
    border-radius: 4px;
    color: #444;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
}

body.animeflv-theme .aflv-form input:focus,
body.animeflv-theme .aflv-form textarea:focus {
    outline: 0;
    background: #fff;
    border-color: #00c1f3;
}

body.animeflv-theme .aflv-form input:disabled {
    color: #999;
    cursor: not-allowed;
}

body.animeflv-theme .aflv-form textarea {
    resize: vertical;
}

body.animeflv-theme .aflv-form button {
    padding: 11px 26px;
    background: #00c1f3;
    border: 0;
    border-radius: 50px;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

body.animeflv-theme .aflv-form button:hover {
    background: #00aeed;
}

body.animeflv-theme .aflv-form button:disabled {
    opacity: 0.6;
    cursor: default;
}

body.animeflv-theme .aflv-form-msg {
    margin: 0 0 14px;
    font-size: 12px;
}

body.animeflv-theme .aflv-form-msg.is-ok {
    color: #22a745;
}

body.animeflv-theme .aflv-form-msg.is-error {
    color: #e74c3c;
}

body.animeflv-theme .aflv-form-photo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 22px;
    padding: 0 0 20px;
    border-bottom: 1px solid #eee;
}

body.animeflv-theme .aflv-form-photo-img img {
    display: block;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
}

body.animeflv-theme .aflv-form-photo-txt {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

body.animeflv-theme .aflv-form-photo-txt strong {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: #3b4248;
}

body.animeflv-theme .aflv-form-photo-txt span {
    color: #999;
    font-size: 12px;
}

body.animeflv-theme .aflv-form-photo-btn {
    margin: 6px 0 0;
    padding: 7px 16px;
    background: #f1f1f1;
    border-radius: 50px;
    color: #666;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

body.animeflv-theme .aflv-form-photo-btn:hover {
    background: #00c1f3;
    color: #fff;
}

body.animeflv-theme .aflv-list-thead,
body.animeflv-theme .aflv-list-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px 150px 90px;
    align-items: center;
    gap: 12px;
}

body.animeflv-theme .aflv-list-thead {
    padding: 0 8px 10px;
    border-bottom: 1px solid #ececec;
    color: #8a8f93;
    font-family: "Open Sans", sans-serif;
    font-size: 11px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

body.animeflv-theme .aflv-list-row {
    padding: 10px 8px;
    border-bottom: 1px solid #f2f2f2;
}

body.animeflv-theme .aflv-list-row:hover {
    background: #fafcfd;
}

body.animeflv-theme .aflv-list-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

body.animeflv-theme .aflv-list-poster {
    flex: 0 0 46px;
    width: 46px;
    height: 64px;
    overflow: hidden;
    border-radius: 3px;
    background: #eee;
}

body.animeflv-theme .aflv-list-poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.animeflv-theme .aflv-list-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    min-width: 0;
}

body.animeflv-theme .aflv-list-info a {
    color: #3b4248 !important;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

body.animeflv-theme .aflv-list-info a:hover {
    color: #00c1f3 !important;
}

body.animeflv-theme .aflv-list-type {
    padding: 2px 10px;
    background: #e6f8fe;
    border-radius: 50px;
    color: #00aeed;
    font-size: 10px;
}

body.animeflv-theme .aflv-list-score {
    color: #3b4248;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
}

body.animeflv-theme .aflv-list-score i {
    color: #f5c518;
}

body.animeflv-theme .aflv-list-score em {
    color: #b5babd;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
}

body.animeflv-theme .aflv-list-progress {
    color: #666;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
}

body.animeflv-theme .aflv-list-bar {
    display: block;
    width: 100%;
    height: 5px;
    margin: 6px 0 0;
    overflow: hidden;
    background: #ececec;
    border-radius: 50px;
}

body.animeflv-theme .aflv-list-bar b {
    display: block;
    height: 100%;
    background: #00c1f3;
    border-radius: 50px;
}

body.animeflv-theme .aflv-list-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

body.animeflv-theme .aflv-list-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: #f1f1f1;
    border: 0;
    border-radius: 50%;
    color: #666 !important;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

body.animeflv-theme .aflv-list-btn:hover {
    background: #00c1f3;
    color: #fff !important;
}

body.animeflv-theme .aflv-list-btn.is-remove:hover {
    background: #e74c3c;
}

body.animeflv-theme .aflv-list-row.is-going {
    opacity: 0;
    transition: opacity 0.25s ease;
}

@media (max-width: 720px) {
    body.animeflv-theme .aflv-list-thead {
        display: none;
    }

    body.animeflv-theme .aflv-list-row {
        grid-template-columns: minmax(0, 1fr) 90px;
        row-gap: 8px;
    }

    body.animeflv-theme .aflv-list-main {
        grid-column: 1 / -1;
    }
}

body.animeflv-theme .aflv-ep-side {
    min-width: 0;
}

body.animeflv-theme .aflv-side-card {
    padding: 14px 14px 6px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

body.animeflv-theme .aflv-side-card h2 {
    margin: 0 0 12px;
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    color: #3b4248;
}

body.animeflv-theme .aflv-side-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.animeflv-theme .aflv-side-list li {
    display: flex;
    gap: 12px;
    margin: 0 0 14px;
}

body.animeflv-theme .aflv-side-thumb {
    position: relative;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: 3px;
    background: #eee;
}

body.animeflv-theme .aflv-side-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.animeflv-theme .aflv-side-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

body.animeflv-theme .aflv-side-copy a {
    color: #444 !important;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none !important;
}

body.animeflv-theme .aflv-side-copy a:hover {
    color: #00c1f3 !important;
}

body.animeflv-theme .aflv-side-tag {
    padding: 3px 10px;
    background: #e6f8fe;
    border-radius: 50px;
    color: #00aeed;
    font-family: "Open Sans", sans-serif;
    font-size: 10px;
    line-height: 1.5;
}

body.animeflv-theme .aflv-movie .aflv-ep-stage {
    margin: 0 0 4px;
}

body.animeflv-theme .aflv-movie .aflv-ep-bar {
    margin: 12px 0 22px;
}

body.animeflv-theme .aflv-movie .aflv-ep-share {
    margin: 0 0 18px;
}

body.animeflv-theme .aflv-ep-ico.is-active {
    background: #00c1f3;
    color: #fff;
}

body.animeflv-theme .aflv-ep-ico.is-active i {
    color: #fff;
}

body.animeflv-theme .aflv-ep-stage:fullscreen,
body.animeflv-theme .aflv-ep-stage:-webkit-full-screen {
    width: 100%;
    height: 100%;
    background: #000;
}

body.animeflv-theme .aflv-ep-stage:fullscreen .aflv-ep-player,
body.animeflv-theme .aflv-ep-stage:-webkit-full-screen .aflv-ep-player {
    padding-top: 0;
    height: calc(100% - 44px);
}

body.animeflv-theme.aflv-episode-page .aflv-series-card {
    border: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

body.animeflv-theme .aflv-ep-dls {
    margin: 0 0 24px;
    overflow: hidden;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

body.animeflv-theme .aflv-ep-dls[hidden] {
    display: none;
}

body.animeflv-theme .aflv-ep-dls table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
}

body.animeflv-theme .aflv-ep-dls th {
    padding: 12px 16px;
    background: #f1f1f1;
    border: 0;
    color: #8a8f93;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.4px;
    text-align: left;
    text-transform: uppercase;
}

body.animeflv-theme .aflv-ep-dls th:last-child,
body.animeflv-theme .aflv-ep-dls td:last-child {
    text-align: center;
    width: 180px;
}

body.animeflv-theme .aflv-ep-dls td {
    padding: 10px 16px;
    border: 0;
    color: #8a8f93;
    text-align: left;
    vertical-align: middle;
}

body.animeflv-theme .aflv-ep-dls td:nth-child(2) {
    color: #444;
    font-weight: 700;
}

body.animeflv-theme .aflv-ep-dls tbody tr:nth-child(even) {
    background: #f7f7f7;
}

body.animeflv-theme .aflv-ep-dls tbody tr:hover {
    background: #eef9fd;
}

body.animeflv-theme .aflv-ep-dls-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    background: #2f3438;
    border-radius: 50px;
    color: #fff !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none !important;
    transition: background 0.2s ease;
}

body.animeflv-theme .aflv-ep-dls-btn i {
    color: #f5c518;
    font-size: 11px;
    transition: color 0.2s ease;
}

body.animeflv-theme .aflv-ep-dls-btn:hover {
    background: #00c1f3;
}

body.animeflv-theme .aflv-ep-dls-btn:hover i {
    color: #fff;
}

body.animeflv-theme .aflv-ep-dls-empty {
    margin: 0;
    padding: 16px;
    color: #888;
}

body.animeflv-theme .aflv-ep-dl.is-open {
    background: #1c8f3a;
}

body.animeflv-theme .aflv-report-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px;
    background: rgba(0, 0, 0, 0.45);
    animation: aflvReportFade 0.4s ease;
}

body.animeflv-theme .aflv-report-modal[hidden] {
    display: none;
}

body.animeflv-theme .aflv-report-dialog {
    width: min(600px, 100%);
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: aflvReportDrop 0.65s cubic-bezier(0.22, 1.2, 0.36, 1);
}

@keyframes aflvReportFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes aflvReportDrop {
    from {
        opacity: 0;
        transform: translateY(-60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.animeflv-theme .aflv-report-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid #ececec;
}

body.animeflv-theme .aflv-report-head h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #8a8f93;
}

body.animeflv-theme .aflv-report-head h2 i {
    color: #f5c518;
    font-size: 16px;
}

body.animeflv-theme .aflv-report-close i {
    pointer-events: none;
}

body.animeflv-theme .aflv-report-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #e74c3c;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
}

body.animeflv-theme .aflv-report-form {
    padding: 18px;
}

body.animeflv-theme .aflv-report-label {
    display: block;
    margin: 0 0 8px;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #444;
}

body.animeflv-theme .aflv-report-form select,
body.animeflv-theme .aflv-report-form textarea {
    display: block;
    width: 100%;
    margin: 0 0 20px;
    padding: 8px 10px;
    border: 1px solid #cfcfcf;
    border-radius: 2px;
    background: #fff;
    color: #444;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    line-height: 1.4;
}

body.animeflv-theme .aflv-report-form textarea {
    min-height: 100px;
    resize: vertical;
}

body.animeflv-theme .aflv-report-form select:focus,
body.animeflv-theme .aflv-report-form textarea:focus {
    outline: 0;
    border-color: #00c1f3;
}

body.animeflv-theme .aflv-report-send {
    margin: 0;
    padding: 8px 14px;
    border: 1px solid #cfcfcf;
    border-radius: 2px;
    background: #fff;
    color: #444;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    cursor: pointer;
}

body.animeflv-theme .aflv-report-send:hover {
    background: #f5f5f5;
}

body.animeflv-theme .aflv-report-msg {
    margin: 10px 0 0;
    font-size: 12px;
}

body.animeflv-theme .aflv-report-msg.is-ok {
    color: #2ecc71;
}

body.animeflv-theme .aflv-report-msg.is-error {
    color: #e74c3c;
}

@media (max-width: 860px) {
    body.animeflv-theme .aflv-ep-head h1 {
        font-size: 20px;
    }

    body.animeflv-theme.aflv-episode-page .aflv-episode {
        grid-template-columns: minmax(0, 1fr);
    }

    body.animeflv-theme .aflv-ep-bar {
        align-items: stretch;
    }

    body.animeflv-theme .aflv-ep-dl {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}
