/* ==========================================================================
   AnimeTV Pro — Native WordPress Web Bridge & Responsive Components Styles
   ========================================================================== */

@font-face {
    font-family: "kalame";
    src: url("../fonts/kalame/Kalameh_Regular.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "kalame";
    src: url("../fonts/kalame/Kalameh_Bold.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: "kalame";
    src: url("../fonts/kalame/Kalameh_Black.ttf") format("truetype");
    font-weight: 900;
    font-display: swap;
}

html,
body.animetv-native-body {
    margin: 0;
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
    display: block !important;
    border: none !important;
    border-radius: 0 !important;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto !important;
    font-family: "IRANYekanX", "Vazirmatn", sans-serif;
}

#animetvApp.App {
    min-height: 100vh;
    height: auto !important;
    overflow: visible !important;
    position: relative;
}

#animetvApp.dark {
    background-color: #16181f;
    color: #f1f5f9;
}

#animetvApp.day {
    background-color: #f4f6fb;
    color: #1e293b;
}

#animetvApp .main-content {
    min-height: 100vh;
    height: auto !important;
    overflow: visible !important;
    padding-bottom: 48px;
}

body.has-music-player #animetvApp .main-content {
    padding-bottom: 112px;
}

/* Modals & Dialogs */
.animetv-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(7, 9, 14, 0.82);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.animetv-auth-dialog {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: linear-gradient(165deg, #1b1e28 0%, #12141c 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    padding: 26px 24px;
    color: #f8fafc;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}

.animetv-modal-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.animetv-auth-brand {
    text-align: center;
    margin-bottom: 18px;
}
.animetv-auth-brand img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 8px;
}
.animetv-auth-brand h3 {
    margin: 0 0 4px;
    font-size: 18px;
}
.animetv-auth-brand p {
    margin: 0;
    font-size: 12.5px;
    color: #94a3b8;
}

.animetv-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    padding: 5px;
    border-radius: 13px;
    margin-bottom: 16px;
}
.animetv-auth-tab {
    border: none;
    background: transparent;
    color: #94a3b8;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 10px;
    border-radius: 10px;
    cursor: pointer;
}
.animetv-auth-tab.is-active {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #111827;
}

.animetv-field {
    margin-bottom: 13px;
}
.animetv-field label {
    display: block;
    font-size: 12.5px;
    color: #cbd5e1;
    margin-bottom: 6px;
}
.animetv-field input,
.animetv-field textarea,
.animetv-select,
.animetv-input-inline,
.animetv-bulk-textarea {
    width: 100%;
    box-sizing: border-box;
    background: rgba(15, 17, 25, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;
    padding: 10px 13px;
    color: #f8fafc;
    font-family: inherit;
    font-size: 13px;
    outline: none;
}
.animetv-input-inline {
    flex: 1;
    min-width: 190px;
}
.animetv-field input:focus,
.animetv-field textarea:focus,
.animetv-select:focus {
    border-color: rgba(251, 191, 36, 0.65);
}

.animetv-auth-links {
    margin: 4px 0 14px;
    font-size: 12px;
}
.animetv-auth-links a,
.animetv-mini-link {
    color: #fbbf24;
    text-decoration: none;
}

.animetv-gold-btn {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 11px 18px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #111827;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.animetv-gold-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.35);
}

/* Panels, Grids & Cards */
.animetv-glass-panel {
    background: rgba(24, 27, 36, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 22px 24px;
}
#animetvApp.day .animetv-glass-panel {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
}

.animetv-page-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 12px 0 20px;
    padding: 20px 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(30, 34, 46, 0.92), rgba(18, 20, 28, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.animetv-kicker {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 4px;
}
.animetv-page-title {
    font-size: 21px;
    font-weight: 800;
    margin: 0;
}
.animetv-page-sub {
    font-size: 13px;
    color: #94a3b8;
    margin: 6px 0 0;
}

.animetv-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
    gap: 16px;
}
.animetv-grid-poster-card {
    width: 100% !important;
    flex: none !important;
    height: 264px;
}
.animetv-grid-poster-card .spotlight-poster-hover.is-always-visible {
    opacity: 1;
    transform: translateY(0);
}

.animetv-genres-strip,
.animetv-sort-pills,
.animetv-genres-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.animetv-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-family: inherit;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    text-decoration: none;
    cursor: pointer;
}
.animetv-chip.is-active {
    background: rgba(251, 191, 36, 0.16);
    border-color: rgba(251, 191, 36, 0.65);
    color: #fbbf24;
    font-weight: 700;
}

.animetv-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0 12px;
}
.animetv-page-num {
    min-width: 38px;
    height: 38px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 700;
}
.animetv-page-num.is-active {
    background: #fbbf24;
    color: #111827;
    border-color: #fbbf24;
}

/* Single Page Enhancements */
.modern-series-title.is-latin .series-header-title {
    font-family: "kalame", "IRANYekanX", sans-serif;
    font-weight: 700;
}
.animetv-single-synopsis-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 16px 18px;
    margin: 14px 0;
}
.animetv-synopsis-text {
    font-size: 13.5px;
    line-height: 2;
    color: #cbd5e1;
}
.animetv-partners-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.animetv-partners-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.animetv-partner-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 11px 4px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #f1f5f9;
    text-decoration: none;
    font-size: 12px;
}
.animetv-partner-chip img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}
.animetv-donate-btn {
    border: 1px solid rgba(244, 63, 94, 0.45);
    background: rgba(244, 63, 94, 0.14);
    color: #fda4af;
    border-radius: 11px;
    padding: 7px 14px;
    font-family: inherit;
    font-size: 12.5px;
    cursor: pointer;
}

.animetv-trailer-card {
    position: relative;
    width: 210px;
    height: 118px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(251, 191, 36, 0.35);
    padding: 0;
    cursor: pointer;
    background: #0f172a;
}
.animetv-trailer-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.62);
}
.animetv-trailer-play {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #fbbf24;
    font-family: "IRANYekanX", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
}

/* Rating Deck */
.animetv-rate-deck {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    background: rgba(24, 27, 36, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    padding: 18px 24px;
    margin: 18px 0;
}
.animetv-rate-summary {
    min-width: 180px;
    text-align: center;
}
.animetv-rate-big {
    font-size: 36px;
    font-weight: 900;
    color: #fbbf24;
    line-height: 1.1;
}
.animetv-rate-stars {
    display: inline-flex;
    gap: 4px;
    margin: 8px 0 6px;
}
.animetv-star-btn {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.22);
    font-size: 18px;
    cursor: pointer;
}
.animetv-star-btn.is-filled,
.animetv-star-btn:hover {
    color: #fbbf24;
}
.animetv-rate-total {
    display: block;
    font-size: 12px;
    color: #94a3b8;
}
.animetv-rate-bars {
    flex: 1;
    min-width: 240px;
}
.animetv-rate-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 12px;
}
.animetv-rate-track {
    flex: 1;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.animetv-rate-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

/* Episodes Accordion */
.animetv-ep-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}
.animetv-ep-toolbar-right,
.animetv-ep-toolbar-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.animetv-ep-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 7px 12px;
}
.animetv-ep-search input {
    border: none;
    background: transparent;
    color: inherit;
    font-family: inherit;
    font-size: 12.5px;
    outline: none;
}
.animetv-ep-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    font-family: inherit;
    font-size: 12.5px;
    text-decoration: none;
    cursor: pointer;
}
.animetv-ep-tool-btn.is-gold {
    border-color: rgba(251, 191, 36, 0.5);
    background: rgba(251, 191, 36, 0.14);
    color: #fbbf24;
}
.animetv-ep-tool-btn.is-accent {
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
}

.animetv-ep-vip-notice {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 12px 18px;
    border-radius: 14px;
    background: rgba(251, 191, 36, 0.06);
    border: 1px solid rgba(251, 191, 36, 0.22);
    margin-bottom: 14px;
}

.animetv-vip-texts {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.animetv-vip-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.8px;
    font-weight: 800;
    color: #fbbf24;
    line-height: 1.45;
}

.animetv-vip-sub {
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.55;
}

/* Two-Line Tall VIP Button with Animated Orbiting Border */
.animetv-vip-orbit-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.8px;
    border-radius: 12px;
    text-decoration: none !important;
    flex-shrink: 0;
    box-shadow: 0 8px 22px -8px rgba(251, 191, 36, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.animetv-vip-orbit-btn::before {
    content: "";
    position: absolute;
    width: 240%;
    aspect-ratio: 1 / 1;
    top: 50%;
    left: 50%;
    background: conic-gradient(
        from 0deg,
        rgba(251, 191, 36, 0.16) 0deg,
        rgba(251, 191, 36, 0.16) 215deg,
        #fef08a 295deg,
        #fbbf24 335deg,
        #f59e0b 355deg,
        rgba(251, 191, 36, 0.16) 360deg
    );
    animation: animetvVipOrbit 3s linear infinite;
}

@keyframes animetvVipOrbit {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.animetv-vip-orbit-inner {
    position: relative;
    z-index: 1;
    height: 44px;
    padding: 0 22px;
    border-radius: 10.5px;
    background: linear-gradient(145deg, #231e13, #171510);
    color: #fbbf24;
    font-family: "IRANYekanX", "Vazirmatn", sans-serif;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.animetv-vip-orbit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px -8px rgba(251, 191, 36, 0.52);
}

.animetv-vip-orbit-btn:hover .animetv-vip-orbit-inner {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #11131a;
}

#animetvApp.day .animetv-ep-vip-notice {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(245, 158, 11, 0.35);
}

#animetvApp.day .animetv-vip-title {
    color: #b45309;
}

#animetvApp.day .animetv-vip-sub {
    color: #334155;
}

.animetv-ep-card {
    background: rgba(24, 27, 36, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    margin-bottom: 10px;
    overflow: hidden;
}
.animetv-ep-card.is-watched {
    opacity: 0.72;
}
.animetv-ep-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 18px;
    cursor: pointer;
}
.animetv-ep-head-right,
.animetv-ep-head-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.animetv-ep-num-badge {
    font-weight: 800;
    font-size: 14px;
}
.animetv-ep-qual-tag {
    font-size: 11.5px;
    padding: 2px 9px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
}
.animetv-ep-status-pill {
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 999px;
    font-weight: 700;
}
.animetv-ep-status-pill.is-free,
.animetv-ep-status-pill.is-open {
    background: rgba(16, 185, 129, 0.16);
    color: #34d399;
}
.animetv-ep-status-pill.is-locked {
    background: rgba(251, 191, 36, 0.14);
    color: #fbbf24;
}
.animetv-ep-watched-btn {
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    font-size: 15px;
}
.animetv-ep-body {
    padding: 12px 14px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(13, 15, 22, 0.55);
    border-radius: 0 0 15px 15px;
}

.animetv-ep-qualities-grid {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.animetv-ep-q-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px 11px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin: 0;
}

.animetv-ep-q-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.animetv-ep-q-badge {
    padding: 2.5px 9px;
    border-radius: 7px;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fbbf24;
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    margin: 0;
}

.animetv-ep-q-size {
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #8b95a9;
}

.animetv-ep-q-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.animetv-q-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: #f1f5f9 !important;
    font-family: "IRANYekanX", "Vazirmatn", sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.18s ease;
}

.animetv-q-btn.is-play {
    background: #fbbf24 !important;
    color: #11131a !important;
    border: none !important;
}

.animetv-q-btn.is-play:hover {
    background: #f59e0b !important;
    transform: translateY(-1px);
}

.animetv-q-btn.is-dl {
    background: rgba(56, 189, 248, 0.13) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    color: #7dd3fc !important;
}

.animetv-q-btn.is-dl:hover {
    background: rgba(56, 189, 248, 0.22) !important;
    border-color: rgba(56, 189, 248, 0.52) !important;
}

.animetv-ep-sub-row {
    margin-top: 9px;
    margin-bottom: 0;
    padding: 9px 12px;
    border-radius: 11px;
    background: rgba(16, 185, 129, 0.07);
    border: 1px solid rgba(16, 185, 129, 0.22);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.animetv-ep-qualities-grid + .animetv-ep-sub-row,
.animetv-ep-locked-box + .animetv-ep-sub-row {
    margin-top: 9px;
}

.animetv-ep-body > .animetv-ep-sub-row:first-child {
    margin-top: 0;
}

.animetv-ep-sub-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.8px;
    color: #e2e8f0;
}

.animetv-ep-sub-info i {
    color: #f8fafc;
    font-size: 13px;
}

.animetv-ep-sub-info strong {
    color: #ffffff;
    font-weight: 800;
}

.animetv-ep-sub-actions {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.animetv-q-btn.is-sub-dl {
    background: rgba(16, 185, 129, 0.18) !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    color: #34d399 !important;
}

.animetv-q-btn.is-sub-dl:hover {
    background: rgba(16, 185, 129, 0.28) !important;
    border-color: rgba(16, 185, 129, 0.6) !important;
}

.animetv-q-btn.is-sub-buy {
    background: rgba(251, 191, 36, 0.14) !important;
    border: 1px solid rgba(251, 191, 36, 0.45) !important;
    color: #fbbf24 !important;
}

.animetv-player-dialog {
    width: 100%;
    max-width: 920px;
    background: #0d0f16;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 16px;
}
.animetv-player-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.animetv-player-head h4 {
    margin: 0;
    font-size: 15px;
}

.animetv-single-musics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 14px;
}

/* Comments */
.animetv-comment-composer {
    background: rgba(24, 27, 36, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 18px;
}
.animetv-comment-composer textarea {
    width: 100%;
    box-sizing: border-box;
    background: rgba(12, 14, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    color: #f8fafc;
    font-family: inherit;
    resize: vertical;
}
.animetv-comment-composer-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}
.animetv-comment-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12px;
}
.animetv-check-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.animetv-reply-badge {
    justify-content: space-between;
    align-items: center;
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
    padding: 7px 12px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 12.5px;
}
.animetv-reply-badge button {
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-family: inherit;
}
.animetv-comment-card {
    background: rgba(24, 27, 36, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 15px 18px;
    margin-bottom: 10px;
}
.animetv-comment-card.is-reply {
    margin-right: 34px;
    border-right: 3px solid #fbbf24;
}
.animetv-comment-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.animetv-comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.animetv-comment-author img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}
.animetv-comment-name {
    font-weight: 700;
    color: #f8fafc;
    text-decoration: none;
    display: block;
    font-size: 13.5px;
}
.animetv-comment-time {
    font-size: 11px;
    color: #94a3b8;
}
.animetv-comment-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}
.animetv-cm-vote,
.animetv-cm-reply-btn {
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
    border-radius: 8px;
    padding: 4px 9px;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
}
.animetv-comment-body {
    font-size: 13.5px;
    line-height: 1.95;
}
.animetv-spoiler-box {
    background: rgba(244, 63, 94, 0.1);
    border: 1px dashed rgba(244, 63, 94, 0.45);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
}
.animetv-spoiler-warn {
    color: #fda4af;
    font-size: 12.5px;
    text-align: center;
}

/* Search, Profile, VIP, Wallet & Support */
.animetv-filter-panel {
    background: rgba(24, 27, 36, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 22px;
}
.animetv-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 12px;
}
.animetv-filter-genres {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.animetv-filter-genres-lbl {
    display: block;
    font-size: 12.5px;
    margin-bottom: 8px;
    color: #cbd5e1;
}
.animetv-filter-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.animetv-profile-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(24, 27, 36, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}
.animetv-pnav-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    border-radius: 11px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13px;
}
.animetv-pnav-item.is-active {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #111827;
    font-weight: 700;
}

.animetv-two-col-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}
.animetv-vip-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 18px;
}
.animetv-vip-plan-card {
    background: linear-gradient(165deg, #1b1f2c, #11131b);
    border: 1px solid rgba(251, 191, 36, 0.28);
    border-radius: 22px;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.animetv-vip-plan-badge {
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.16);
    color: #fbbf24;
    font-size: 12px;
    font-weight: 700;
}
.animetv-vip-plan-price {
    margin: 12px 0 16px;
}
.animetv-vip-plan-price strong {
    font-size: 28px;
    color: #fbbf24;
}
.animetv-vip-plan-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    font-size: 13px;
    line-height: 2.1;
}
.animetv-vip-plan-perks i {
    color: #34d399;
    margin-left: 7px;
}
.animetv-vip-plan-actions {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.animetv-vip-status-strip {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 16px;
    padding: 12px 22px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
}

.animetv-presets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
    gap: 10px;
}
.animetv-preset-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease;
}
.animetv-preset-card:hover {
    border-color: #fbbf24;
    transform: translateY(-2px);
}
.animetv-preset-card strong {
    font-size: 17px;
    color: #fbbf24;
}

.animetv-member-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    padding: 24px;
    border-radius: 22px;
    background: rgba(24, 27, 36, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 18px;
}
.animetv-member-identity {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.animetv-member-avatar {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fbbf24;
}
.animetv-member-name {
    margin: 0;
    font-family: "kalame", "IRANYekanX", sans-serif;
    font-size: 24px;
}
.animetv-member-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12.5px;
    color: #94a3b8;
    margin-top: 8px;
}
.animetv-member-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.animetv-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.animetv-table th,
.animetv-table td {
    padding: 11px 12px;
    text-align: right;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.animetv-thread-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: inherit;
    text-decoration: none;
    margin-bottom: 9px;
}
.animetv-thread-item.is-unread {
    border-color: rgba(251, 191, 36, 0.55);
}
.animetv-thread-item h4 {
    margin: 0 0 4px;
    font-size: 14.5px;
}
.animetv-thread-item p {
    margin: 0;
    font-size: 12.5px;
    color: #94a3b8;
}

.animetv-chat-bubble {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}
.animetv-chat-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}
.animetv-chat-body {
    flex: 1;
    background: rgba(255, 255, 255, 0.045);
    border-radius: 14px;
    padding: 12px 15px;
    font-size: 13.5px;
    line-height: 1.9;
}
.animetv-chat-bubble.is-mine .animetv-chat-body {
    background: rgba(251, 191, 36, 0.11);
    border: 1px solid rgba(251, 191, 36, 0.25);
}
.animetv-chat-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.animetv-faq-item {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 12px 15px;
    margin-bottom: 9px;
}
.animetv-faq-item summary {
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
}
.animetv-faq-item p {
    font-size: 12.5px;
    line-height: 1.9;
    color: #cbd5e1;
    margin: 8px 0 0;
}

.animetv-rule-card {
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 12px;
}
.animetv-rule-card h3 {
    margin: 0 0 6px;
    font-size: 15px;
    color: #fbbf24;
}
.animetv-rule-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.95;
}

.animetv-quote-box {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    padding: 13px 15px;
    font-size: 13px;
    line-height: 1.95;
    margin-bottom: 14px;
}

.animetv-empty-state {
    text-align: center;
    padding: 46px 20px;
    border-radius: 20px;
    background: rgba(24, 27, 36, 0.72);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    color: #94a3b8;
}
.animetv-empty-state i {
    font-size: 38px;
    color: #fbbf24;
    margin-bottom: 10px;
}
.animetv-empty-state h3 {
    color: #f1f5f9;
    margin: 6px 0;
}

.animetv-inline-search {
    display: flex;
    gap: 8px;
}
.animetv-inline-search input {
    background: rgba(15, 17, 25, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 8px 14px;
    color: #f8fafc;
    font-family: inherit;
    min-width: 230px;
}

.animetv-toast {
    position: fixed;
    bottom: 26px;
    left: 26px;
    z-index: 100000;
    background: #1e293b;
    color: #f8fafc;
    border: 1px solid rgba(251, 191, 36, 0.5);
    border-radius: 13px;
    padding: 12px 20px;
    font-size: 13px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.animetv-toast.is-error {
    border-color: rgba(244, 63, 94, 0.65);
}
.animetv-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 820px) {
    #animetvApp .sidebar {
        position: fixed;
        bottom: 0;
        top: auto !important;
        right: 0;
        left: 0;
        width: 100% !important;
        height: 64px !important;
        flex-direction: row !important;
        z-index: 9998;
        padding: 0 8px !important;
    }
    #animetvApp .sidebar .menu-lists {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        margin: 0;
    }
    #animetvApp .sidebar .menu-lists li.logo,
    #animetvApp .sidebar > div:last-child {
        display: none;
    }
    #animetvApp .main-content {
        margin-right: 0 !important;
        width: 100% !important;
        padding-bottom: 92px;
    }
    #left-side-bar {
        flex-direction: column !important;
        align-items: center;
    }
    .single-header-content-col {
        width: 100% !important;
    }
}

/* ==========================================================================
   WordPress Browser Enhancements:
   1) Top Command Dock Header Spacing & Desktop Element Scale
   2) Responsive 5-Card «بروزترین انیمه‌ها» & «بروزترین سریال‌ها» Carousels
   ========================================================================== */

body.animetv-native-body header.cmd-dock-header {
    width: 96%;
    margin: 26px auto 26px !important;
    padding: 15px 22px;
    border-radius: 24px;
    gap: 18px;
}

@media (min-width: 1025px) {
    body.animetv-native-body header.cmd-dock-header .cmd-dock-brand {
        gap: 14px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-wave {
        width: 50px;
        height: 50px;
        border-radius: 15px;
        font-size: 23px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-greet {
        font-size: 13px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-headline {
        margin-top: 3px;
        font-size: 15.5px;
    }

    body.animetv-native-body header.cmd-dock-header form.cmd-dock-search {
        max-width: 580px;
        height: 52px;
        padding: 0 8px;
        border-radius: 17px;
        gap: 8px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-search-ico svg {
        width: 19px;
        height: 19px;
    }

    body.animetv-native-body header.cmd-dock-header form.cmd-dock-search input.cmd-dock-input {
        font-size: 14px !important;
        padding: 0 6px !important;
    }

    body.animetv-native-body header.cmd-dock-header form.cmd-dock-search input.cmd-dock-input::placeholder {
        font-size: 13.5px !important;
    }

    body.animetv-native-body header.cmd-dock-header a.cmd-dock-filter-btn,
    body.animetv-native-body header.cmd-dock-header button.cmd-dock-filter-btn {
        width: 40px !important;
        height: 40px !important;
        border-radius: 12px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: var(--hd-muted) !important;
        text-decoration: none !important;
    }

    body.animetv-native-body header.cmd-dock-header a.cmd-dock-filter-btn svg,
    body.animetv-native-body header.cmd-dock-header button.cmd-dock-filter-btn svg {
        width: 18px;
        height: 18px;
    }

    body.animetv-native-body header.cmd-dock-header button.cmd-dock-submit-btn {
        height: 40px !important;
        padding: 0 22px !important;
        border-radius: 13px !important;
        font-size: 14px !important;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-left {
        gap: 11px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-apps-trigger {
        height: 50px;
        padding: 0 16px;
        border-radius: 16px;
        font-size: 13.5px;
        gap: 9px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-apps-ico svg {
        width: 18px;
        height: 18px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-live-dot {
        width: 8px;
        height: 8px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-status-capsule {
        height: 50px;
        padding: 0 16px;
        border-radius: 16px;
        gap: 15px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-stat-ico svg {
        width: 18px;
        height: 18px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-stat-lbl {
        font-size: 11.5px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-stat-val {
        font-size: 13.5px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-vsep {
        height: 28px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-profile-pill {
        height: 50px;
        padding: 0 9px 0 15px;
        border-radius: 16px;
        gap: 11px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-avatar {
        width: 38px !important;
        height: 38px !important;
        border-radius: 12px !important;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-prof-texts {
        max-width: 160px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-prof-name {
        font-size: 14px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-prof-name.is-latin {
        font-size: 17.5px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-prof-role {
        font-size: 11.5px;
    }
}

@media (min-width: 1620px) {
    body.animetv-native-body header.cmd-dock-header {
        margin: 30px auto 28px !important;
        padding: 17px 26px;
        border-radius: 26px;
        gap: 22px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-wave {
        width: 54px;
        height: 54px;
        border-radius: 16px;
        font-size: 25px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-greet {
        font-size: 13.5px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-headline {
        font-size: 16.5px;
    }

    body.animetv-native-body header.cmd-dock-header form.cmd-dock-search {
        max-width: 650px;
        height: 56px;
        padding: 0 10px;
        border-radius: 18px;
    }

    body.animetv-native-body header.cmd-dock-header form.cmd-dock-search input.cmd-dock-input {
        font-size: 14.5px !important;
    }

    body.animetv-native-body header.cmd-dock-header button.cmd-dock-submit-btn {
        height: 44px !important;
        padding: 0 26px !important;
        font-size: 14.5px !important;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-apps-trigger,
    body.animetv-native-body header.cmd-dock-header .cmd-dock-status-capsule,
    body.animetv-native-body header.cmd-dock-header .cmd-dock-profile-pill {
        height: 54px;
        border-radius: 18px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-apps-trigger {
        padding: 0 18px;
        font-size: 14px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-status-capsule {
        padding: 0 18px;
        gap: 18px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-stat-lbl {
        font-size: 12px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-stat-val {
        font-size: 14px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-avatar {
        width: 42px !important;
        height: 42px !important;
        border-radius: 13px !important;
    }
}

@media (max-width: 1120px) and (min-width: 821px) {
    body.animetv-native-body header.cmd-dock-header {
        margin: 18px auto 20px !important;
        padding: 12px 16px;
        gap: 10px;
    }

    body.animetv-native-body header.cmd-dock-header .cmd-dock-status-capsule {
        display: none;
    }
}

@media (max-width: 820px) {
    body.animetv-native-body header.cmd-dock-header {
        width: 94%;
        margin: 14px auto 18px !important;
    }
}

/* 5-Card Responsive «بروزترین انیمه‌ها» & «بروزترین سریال‌ها» */
body.animetv-native-body .last-update .home-row-layout {
    --last-cols: 5;
    --last-gap: 16px;
    width: 96%;
    margin: 0 auto;
    padding: 20px 22px;
    gap: 26px;
}

body.animetv-native-body .last-update .home-row-heading {
    flex: 0 0 225px;
}

body.animetv-native-body .last-update .home-row-carousel .embla {
    overflow: hidden;
    padding: 6px 2px 8px;
}

body.animetv-native-body .last-update .home-row-carousel .landing-most-popular-card-wrapper.embla__slide {
    flex: 0 0 calc((100% - (var(--last-cols) - 1) * var(--last-gap)) / var(--last-cols)) !important;
    width: calc((100% - (var(--last-cols) - 1) * var(--last-gap)) / var(--last-cols)) !important;
    max-width: calc((100% - (var(--last-cols) - 1) * var(--last-gap)) / var(--last-cols)) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    margin-left: var(--last-gap) !important;
    border-radius: 22px;
    filter: none !important;
    transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.26s ease !important;
}

body.animetv-native-body .last-update .home-row-carousel .landing-most-popular-card-wrapper.embla__slide:last-child {
    margin-left: 0 !important;
}

body.animetv-native-body .last-update .home-row-carousel .landing-most-popular-card-wrapper.embla__slide:hover {
    filter: none !important;
    transform: translateY(-5px);
    box-shadow: 0 18px 34px -14px rgba(0, 0, 0, 0.72);
}

body.animetv-native-body .last-update .home-row-carousel .landing-most-popular-card {
    position: relative;
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #12141c;
}

body.animetv-native-body .last-update .home-row-carousel .landing-most-popular-card .card-img-clippath-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 22px;
}

body.animetv-native-body .last-update .home-row-carousel .landing-most-popular-card .card-img-clippath-wrapper .episode-card-img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 2 / 2.74;
    object-fit: cover;
    border-radius: 22px;
    display: block;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

body.animetv-native-body .last-update .home-row-carousel .landing-most-popular-card-wrapper.embla__slide:hover .episode-card-img {
    transform: scale(1.045);
}

body.animetv-native-body .last-update .home-row-carousel .landing-most-popular-card .episode-card-text-container {
    box-sizing: border-box;
    padding: 0 14px 16px;
    border-radius: 0 0 22px 22px;
    background-image: linear-gradient(to bottom, transparent 0%, rgba(8, 10, 16, 0.86) 76%, rgba(8, 10, 16, 0.98) 100%);
}

body.animetv-native-body .last-update .home-row-carousel .landing-most-popular-card .episode-card-text-container h3 {
    font-family: "kalame", "IRANYekanX", sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    padding: 0 4px;
    margin-bottom: 4px;
    color: #f8fafc !important;
}

@media (max-width: 1340px) {
    body.animetv-native-body .last-update .home-row-layout {
        --last-cols: 4;
        --last-gap: 14px;
    }
    body.animetv-native-body .last-update .home-row-heading {
        flex: 0 0 205px;
    }
}

@media (max-width: 1040px) {
    body.animetv-native-body .last-update .home-row-layout {
        --last-cols: 3;
        --last-gap: 13px;
        padding: 16px;
        gap: 18px;
    }
    body.animetv-native-body .last-update .home-row-heading {
        flex: 0 0 185px;
    }
}

@media (max-width: 760px) {
    body.animetv-native-body .last-update .home-row-layout {
        --last-cols: 3;
        --last-gap: 12px;
    }
    body.animetv-native-body .last-update .home-row-heading {
        flex: auto;
    }
}

@media (max-width: 680px) {
    body.animetv-native-body .last-update .home-row-layout {
        --last-cols: 2;
        --last-gap: 11px;
        padding: 14px;
    }
    body.animetv-native-body .last-update .home-row-carousel .landing-most-popular-card .episode-card-text-container h3 {
        font-size: 14.5px;
    }
}

/* Keep card width locked near the ~1650px size (~230px) on larger viewports by adding columns */
@media (min-width: 1800px) {
    body.animetv-native-body .last-update .home-row-layout {
        --last-cols: 6;
    }
}

@media (min-width: 2090px) {
    body.animetv-native-body .last-update .home-row-layout {
        --last-cols: 7;
    }
}

@media (min-width: 2380px) {
    body.animetv-native-body .last-update .home-row-layout {
        --last-cols: 8;
    }
}

@media (min-width: 2670px) {
    body.animetv-native-body .last-update .home-row-layout {
        --last-cols: 9;
    }
}

@media (min-width: 2960px) {
    body.animetv-native-body .last-update .home-row-layout {
        --last-cols: 10;
    }
}

@media (min-width: 3260px) {
    body.animetv-native-body .last-update .home-row-layout {
        --last-cols: 11;
    }
}

@media (min-width: 3560px) {
    body.animetv-native-body .last-update .home-row-layout {
        --last-cols: 12;
    }
}

/* ==========================================================================
   Single Anime Page V2.5:
   1) Top Bento Layout (Right Poster + Center Info w/ Specs Above Synopsis + Left Rate/Trailer/Related)
   2) 2-Column Episodes Grid
   3) Architectural «مشاهده مابقی» Divider Bar
   ========================================================================== */

body.animetv-native-body .body-outline.single-v2-page #episodes-section {
    width: 96% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

body.animetv-native-body .body-outline.single-v2-page .single-modern-tabs-bar,
body.animetv-native-body .body-outline.single-v2-page .global-page.full {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#smart-view #left-side-bar.animetv-single-top-bento {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 16px !important;
    margin: 0 0 20px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#smart-view #left-side-bar.animetv-single-top-bento > .animetv-bento-poster-col {
    flex: 0 0 198px !important;
    width: 198px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    overflow: visible !important;
    border-radius: 0 !important;
    align-self: flex-start !important;
}

#smart-view #left-side-bar.animetv-single-top-bento .animetv-poster-frame {
    width: 100% !important;
    height: 274px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.48) !important;
    background: #0f1219;
}

#smart-view #left-side-bar.animetv-single-top-bento #series-thumb,
#smart-view #left-side-bar.animetv-single-top-bento #series-thumb > img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 18px !important;
}

/* Poster Bottom Bookmark & Share Row (Model 1) */
.animetv-poster-actions {
    display: grid;
    grid-template-columns: 1fr 42px;
    gap: 7px;
    width: 100%;
}

.animetv-poster-bm-btn {
    height: 42px;
    padding: 0 10px;
    border-radius: 13px;
    background: rgba(251, 191, 36, 0.11) !important;
    border: 1px solid rgba(251, 191, 36, 0.36) !important;
    color: #fbbf24 !important;
    font-family: "IRANYekanX", "Vazirmatn", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.animetv-poster-bm-btn:hover {
    background: #fbbf24 !important;
    color: #11131a !important;
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.28);
}

.animetv-poster-bm-btn.is-bookmarked {
    background: rgba(16, 185, 129, 0.15) !important;
    border-color: rgba(16, 185, 129, 0.45) !important;
    color: #34d399 !important;
}

.animetv-poster-bm-btn.is-bookmarked:hover {
    background: rgba(239, 68, 68, 0.16) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    color: #f87171 !important;
    box-shadow: none;
}

.animetv-poster-share-btn {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.animetv-poster-share-btn:hover {
    border-color: rgba(251, 191, 36, 0.42);
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.08);
}

.animetv-bento-center-col {
    flex: 1 1 0% !important;
    width: auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.animetv-bento-center-col > .dashboard-header-wrap {
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 auto !important;
    height: auto !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

.animetv-bento-center-col .dashboard-header.animetv-center-stack {
    width: 100% !important;
    flex: 1 1 auto !important;
    height: auto !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 11px !important;
}

.animetv-top-specs-wrap,
#animetvApp.day .animetv-top-specs-wrap {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 2px 0 !important;
    width: 100% !important;
}

.animetv-top-specs-wrap .modern-stats-grid {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 9px !important;
    box-sizing: border-box !important;
}

.animetv-top-specs-wrap .modern-stat-item {
    padding: 12px 14px !important;
    border-radius: 12px !important;
    gap: 10px !important;
    background: rgba(22, 26, 35, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-sizing: border-box !important;
}

.animetv-top-specs-wrap .modern-stat-item.is-airing {
    border-color: rgba(0, 230, 118, 0.24);
    background: rgba(0, 230, 118, 0.05);
}

#animetvApp.day .animetv-top-specs-wrap .modern-stat-item {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

.animetv-single-synopsis-card.animetv-bento-synopsis {
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: rgba(22, 26, 35, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 16px;
    padding: 14px 18px;
}

/* 3-Line Clamped Synopsis + Progressive Bright-to-Dark Fade + Divider Pill (Model 3) */
.animetv-single-synopsis-card.animetv-bento-synopsis .animetv-synopsis-text {
    width: 100%;
    font-size: 13.5px;
    line-height: 2.02;
    color: #e2e8f0;
    text-align: justify;
    overflow: hidden;
    transition: max-height 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.animetv-single-synopsis-card.animetv-bento-synopsis:not(.is-expanded):not(.is-short-synopsis) .animetv-synopsis-text {
    max-height: calc(13.5px * 2.02 * 3.12);
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.92) 38%,
        rgba(0, 0, 0, 0.42) 74%,
        rgba(0, 0, 0, 0.05) 100%
    );
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.92) 38%,
        rgba(0, 0, 0, 0.42) 74%,
        rgba(0, 0, 0, 0.05) 100%
    );
}

.animetv-single-synopsis-card.animetv-bento-synopsis.is-expanded .animetv-synopsis-text {
    max-height: 2200px;
    -webkit-mask-image: none;
    mask-image: none;
}

.animetv-single-synopsis-card.animetv-bento-synopsis.is-short-synopsis .animetv-synopsis-divider-more {
    display: none !important;
}

.animetv-synopsis-divider-more {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    width: 100%;
}

.animetv-syn-line {
    flex: 1 1 0%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13), rgba(251, 191, 36, 0.28));
}

.animetv-syn-line:last-child {
    background: linear-gradient(270deg, transparent, rgba(255, 255, 255, 0.13), rgba(251, 191, 36, 0.28));
}

.animetv-syn-toggle-btn {
    padding: 5px 15px;
    border-radius: 999px;
    background: #1c2130;
    border: 1px solid rgba(255, 255, 255, 0.11);
    color: #e2e8f0;
    font-family: "IRANYekanX", "Vazirmatn", sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.animetv-syn-toggle-btn:hover {
    border-color: rgba(251, 191, 36, 0.45);
    color: #fbbf24;
    background: #22283a;
}

.animetv-syn-toggle-btn .js-syn-btn-ico {
    font-size: 10.5px;
    color: #94a3b8;
    transition: transform 0.24s ease, color 0.2s ease;
}

.animetv-syn-toggle-btn:hover .js-syn-btn-ico {
    color: #fbbf24;
}

.animetv-single-synopsis-card.is-expanded .animetv-syn-toggle-btn .js-syn-btn-ico {
    transform: rotate(180deg);
}

/* Left Bento Column (Rate + Trailer + Conditional Related) */
.animetv-bento-left-col {
    flex: 0 0 326px;
    width: 326px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.animetv-bento-rate-card,
.animetv-bento-media-card {
    background: #151822;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 18px;
    padding: 13px 15px;
    box-shadow: 0 10px 28px -14px rgba(0, 0, 0, 0.55);
}

.animetv-bento-media-card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.animetv-bento-media-card.is-trailer-only {
    padding: 10px 12px;
}

.bento-rate-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.bento-rate-right {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.bento-score-badge {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(251, 191, 36, 0.18), rgba(245, 158, 11, 0.05));
    border: 1px solid rgba(251, 191, 36, 0.34);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "kalame", "IRANYekanX", "Vazirmatn", sans-serif;
    font-size: 21px;
    font-weight: 900;
    color: #fbbf24;
    flex-shrink: 0;
}

.bento-score-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.bento-stars-row {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 3px;
}

.bento-display-stars {
    cursor: pointer;
}

.bento-display-stars .animetv-star-disp {
    font-size: 13.5px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.18);
}

.bento-display-stars .animetv-star-disp.is-filled {
    color: #fbbf24;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.35);
}

.bento-stars-row .animetv-star-btn {
    padding: 2px;
    font-size: 19px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.22);
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.16s ease, color 0.16s ease;
}

.bento-stars-row .animetv-star-btn.is-filled,
.bento-stars-row .animetv-star-btn:hover,
.bento-stars-row .animetv-star-btn:hover ~ .animetv-star-btn {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.45);
}

.bento-stars-row .animetv-star-btn:hover {
    transform: scale(1.18);
}

.bento-votes-count {
    font-size: 11px;
    color: #8b95a9;
}

.bento-votes-count strong {
    color: #cbd5e1;
}

/* Full-Width Bottom Rate Button & Interactive Star Drawer (Model 4) */
.bento-rate-cta-wrap {
    margin-top: 11px;
    width: 100%;
}

.bento-full-rate-cta {
    width: 100%;
    height: 39px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(245, 158, 11, 0.08));
    border: 1px solid rgba(251, 191, 36, 0.42);
    color: #fbbf24;
    font-family: "IRANYekanX", "Vazirmatn", sans-serif;
    font-size: 12.2px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bento-full-rate-cta:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #11131a;
    box-shadow: 0 8px 20px -6px rgba(245, 158, 11, 0.42);
}

.bento-full-rate-cta.is-rated {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.42);
    color: #34d399;
}

.bento-rate-picker-drawer {
    margin-top: 11px;
    padding: 9px 12px;
    border-radius: 12px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.34);
}

.bento-picker-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.bento-picker-lbl {
    font-size: 11.5px;
    font-weight: 700;
    color: #fbbf24;
    white-space: nowrap;
}

.bento-picker-cancel {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    transition: 0.18s ease;
}

.bento-picker-cancel:hover {
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.4);
}

.bento-rate-bars {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bento-bar-row {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 8px;
    font-size: 11px;
}

.bento-bar-lvl {
    color: #fbbf24;
    font-weight: 800;
    font-size: 11px;
    text-align: right;
}

.bento-bar-track {
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

.bento-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    transition: width 0.3s ease;
}

.bento-bar-pct {
    color: #94a3b8;
    font-size: 10.5px;
    text-align: left;
}

/* Trailer Bar inside Left Media Card */
.bento-trailer-bar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 13px;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.14), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(251, 191, 36, 0.28);
    color: #f8fafc;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.bento-trailer-bar:hover {
    border-color: rgba(251, 191, 36, 0.65);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(255, 255, 255, 0.05));
    transform: translateY(-1px);
}

.bento-trailer-bar.is-disabled {
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(255, 255, 255, 0.06);
    cursor: default;
    transform: none;
}

.bento-trailer-right {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
}

.bento-trailer-right i {
    color: #fbbf24;
    font-size: 13px;
}

.bento-trailer-bar.is-disabled .bento-trailer-right strong {
    color: #8b95a9;
    font-weight: 600;
}

.bento-trailer-left {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #94a3b8;
}

.bento-trailer-left i {
    font-size: 9px;
}

/* Related Works inside Left Media Card */
.bento-rel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 2px;
}

.bento-rel-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 800;
    color: #f1f5f9;
}

.bento-rel-title i {
    color: #94a3b8;
    font-size: 12px;
}

.bento-rel-count {
    font-size: 11px;
    color: #8b95a9;
}

.bento-rel-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 150px;
    overflow-y: auto;
    padding-left: 2px;
}

.bento-rel-list::-webkit-scrollbar {
    width: 4px;
}

.bento-rel-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 99px;
}

.bento-rel-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 9px;
    border-radius: 13px;
    background: #1b1f2c;
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none !important;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.bento-rel-item:hover {
    border-color: rgba(251, 191, 36, 0.38);
    background: #212636;
    transform: translateX(-2px);
}

.bento-rel-poster {
    width: 38px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.bento-rel-info {
    flex: 1 1 0%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.bento-rel-badge {
    display: inline-block;
    padding: 1.5px 8px;
    border-radius: 6px;
    background: rgba(251, 191, 36, 0.14);
    color: #fbbf24;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.4;
}

.bento-rel-name {
    width: 100%;
    font-size: 12px;
    font-weight: 700;
    color: #f1f5f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
}

.bento-rel-arrow {
    color: #8b95a9;
    font-size: 12px;
    padding-left: 3px;
    flex-shrink: 0;
}

.bento-rel-empty {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.07);
    color: #64748b;
    font-size: 11.5px;
}

/* 2-Column Numbered Ticket Episodes List (Design 1) */
.animetv-ep-list.is-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    align-items: start;
}

.animetv-ep-list.is-two-col .animetv-ep-card {
    margin-bottom: 0 !important;
    min-width: 0;
    border-radius: 15px;
    background: #161923;
    border: 1px solid rgba(255, 255, 255, 0.075);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.animetv-ep-list.is-two-col .animetv-ep-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.animetv-ep-list.is-two-col .animetv-ep-card.is-open {
    border-color: rgba(251, 191, 36, 0.36);
    box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.75);
    transform: none;
}

.animetv-ep-list.is-two-col .animetv-ep-header {
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.animetv-ep-list.is-two-col .animetv-ep-head-right {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.animetv-ep-box {
    min-width: 52px;
    height: 40px;
    padding: 0 8px;
    border-radius: 11px;
    background: linear-gradient(145deg, rgba(251, 191, 36, 0.16), rgba(251, 191, 36, 0.04));
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fbbf24;
    font-family: "IRANYekanX", "Vazirmatn", sans-serif;
    font-size: 15px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
}

.animetv-ep-meta-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}

.animetv-ep-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.animetv-ep-title-row .animetv-ep-num-badge {
    font-size: 13px;
    font-weight: 800;
    color: #f8fafc;
}

.animetv-ep-dot-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10.5px;
    font-weight: 700;
}

.animetv-ep-dot-status.is-open,
.animetv-ep-dot-status.is-free {
    color: #34d399;
}

.animetv-ep-dot-status.is-open::before,
.animetv-ep-dot-status.is-free::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
    display: inline-block;
}

.animetv-ep-dot-status.is-locked {
    color: #fbbf24;
}

.animetv-ep-dot-status.is-locked i {
    font-size: 9.5px;
}

.animetv-ep-quals-line {
    font-size: 10.5px;
    color: #8b95a9;
    line-height: 1.35;
}

.animetv-ep-quals-line.is-ltr {
    font-family: "Segoe UI", system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: 0.1px;
    text-align: right;
}

.animetv-ep-list.is-two-col .animetv-ep-head-left {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.animetv-ep-icon-btn {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8 !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    transition: all 0.18s ease;
    box-sizing: border-box;
}

.animetv-ep-icon-btn.is-edit:hover {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.42);
    color: #34d399 !important;
}

.animetv-ep-icon-btn.is-del:hover {
    background: rgba(244, 63, 94, 0.14);
    border-color: rgba(244, 63, 94, 0.42);
    color: #fb7185 !important;
}

.animetv-ep-date {
    font-size: 11px;
    color: #8b95a9;
    margin-left: 4px;
    white-space: nowrap;
}

.animetv-ep-card .animetv-ep-chevron {
    font-size: 11px;
    color: #94a3b8;
    transition: transform 0.22s ease, color 0.22s ease;
}

.animetv-ep-card.is-open .animetv-ep-chevron {
    transform: rotate(180deg);
    color: #fbbf24;
}

#animetvApp.day .animetv-ep-list.is-two-col .animetv-ep-card {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.09);
}

#animetvApp.day .animetv-ep-title-row .animetv-ep-num-badge {
    color: #0f172a;
}

#animetvApp.day .animetv-ep-icon-btn {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.1);
}

/* Redesigned Sleek Architectural «مشاهده مابقی» Bar */
.animetv-ep-more-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 18px 0 8px;
    width: 100%;
}

.animetv-ep-more-line {
    flex: 1 1 0%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), rgba(251, 191, 36, 0.26));
}

.animetv-ep-more-line:last-child {
    background: linear-gradient(270deg, transparent, rgba(255, 255, 255, 0.12), rgba(251, 191, 36, 0.26));
}

.animetv-ep-more-btn {
    height: 42px;
    padding: 0 16px 0 18px;
    border-radius: 13px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(22, 26, 36, 0.94);
    color: #e2e8f0;
    font-family: "IRANYekanX", "Vazirmatn", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    cursor: pointer;
    box-shadow: 0 8px 22px -12px rgba(0, 0, 0, 0.65);
    transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.animetv-ep-more-btn .ep-more-icon-pill {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(251, 191, 36, 0.13);
    border: 1px solid rgba(251, 191, 36, 0.26);
    color: #fbbf24;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
}

.animetv-ep-more-btn .ep-more-count-badge {
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fbbf24;
    font-size: 11px;
    font-weight: 800;
}

.animetv-ep-more-btn:hover {
    transform: translateY(-1px);
    background: rgba(29, 34, 48, 0.98);
    border-color: rgba(251, 191, 36, 0.45);
    color: #ffffff;
    box-shadow: 0 12px 28px -12px rgba(251, 191, 36, 0.28);
}

.animetv-ep-more-btn:hover .ep-more-icon-pill {
    background: #fbbf24;
    color: #111827;
}

.animetv-ep-more-btn .js-ep-more-ico {
    font-size: 11px;
    color: #94a3b8;
    transition: transform 0.24s ease, color 0.2s ease;
}

.animetv-ep-more-btn:hover .js-ep-more-ico {
    color: #fbbf24;
}

.animetv-ep-more-btn.is-expanded .js-ep-more-ico {
    transform: rotate(180deg);
}

#animetvApp.day .animetv-bento-rate-card,
#animetvApp.day .animetv-bento-media-card,
#animetvApp.day .animetv-ep-more-btn {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.09);
    color: #1e293b;
}

#animetvApp.day .bento-rel-item {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.08);
}

#animetvApp.day .bento-rel-name {
    color: #0f172a;
}

@media (max-width: 1180px) {
    #smart-view #left-side-bar.animetv-single-top-bento {
        flex-wrap: wrap !important;
    }
    .animetv-bento-left-col {
        flex: 1 1 100%;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .animetv-ep-list.is-two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    body.animetv-native-body .body-outline.single-v2-page #episodes-section {
        width: 94% !important;
    }
    #smart-view #left-side-bar.animetv-single-top-bento {
        flex-direction: column !important;
        align-items: center !important;
    }
    .animetv-bento-center-col {
        width: 100% !important;
    }
    .animetv-top-specs-wrap .modern-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .animetv-bento-left-col {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Profile Shell Alignment & Luxury Bento Wallet Studio (v4.5.7)
   ========================================================================== */
@media (min-width: 821px) {
    body.animetv-native-body #animetvApp > section.main-content {
        width: calc(100% - 80px) !important;
        max-width: calc(100% - 80px) !important;
        margin-right: 80px !important;
        margin-left: 0 !important;
        box-sizing: border-box !important;
    }
}

body.animetv-native-body .animetv-profile-shell {
    width: 96% !important;
    max-width: 100% !important;
    margin: 0 auto 44px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

body.animetv-native-body .animetv-profile-shell *,
body.animetv-native-body .animetv-profile-shell *::before,
body.animetv-native-body .animetv-profile-shell *::after {
    box-sizing: border-box;
}

body.animetv-native-body .animetv-profile-nav {
    width: 100%;
    margin: 0 0 20px;
    padding: 10px 14px;
    border-radius: 20px;
    background: linear-gradient(165deg, rgba(24, 28, 39, 0.94), rgba(18, 21, 30, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.085);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
    gap: 6px;
    align-items: center;
}

#animetvApp.day .animetv-profile-nav {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.09);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

#animetvApp.day .animetv-pnav-item:not(.is-active) {
    color: #334155;
}

.animetv-pnav-item {
    transition: all 0.18s ease;
    font-weight: 500;
}

.animetv-pnav-item:not(.is-active):hover {
    background: rgba(251, 191, 36, 0.09);
    color: #fbbf24;
}

.animetv-wallet-page {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

/* 1. Wallet Hero Banner */
.animetv-wallet-bento-hero {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 24px 28px;
    background: linear-gradient(145deg, rgba(28, 33, 46, 0.96) 0%, rgba(18, 21, 30, 0.98) 100%);
    border: 1px solid rgba(251, 191, 36, 0.24);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.36);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.animetv-wallet-hero-glow {
    position: absolute;
    top: -60px;
    right: -40px;
    width: 280px;
    height: 220px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.18), transparent 70%);
    pointer-events: none;
}

.animetv-wallet-hero-right {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 18px;
}

.animetv-wallet-icon-orb {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.06));
    border: 1px solid rgba(251, 191, 36, 0.38);
    color: #fbbf24;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.16);
}

.animetv-wallet-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 4px;
}

.animetv-wallet-balance-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.animetv-wallet-balance-lbl {
    font-size: 16px;
    font-weight: 700;
    color: #e2e8f0;
}

.animetv-wallet-balance-num {
    font-size: 28px;
    font-weight: 900;
    color: #fbbf24;
    letter-spacing: -0.3px;
}

.animetv-wallet-balance-unit {
    font-size: 13.5px;
    font-weight: 700;
    color: #94a3b8;
}

.animetv-wallet-gift-tag {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(168, 85, 247, 0.14);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #d8b4fe;
    font-size: 11.5px;
}

.animetv-wallet-hero-left {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.animetv-wallet-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.animetv-wallet-status-chip.is-verified {
    background: rgba(16, 185, 129, 0.13);
    border: 1px solid rgba(16, 185, 129, 0.32);
    color: #34d399;
}

.animetv-wallet-status-chip.is-pending {
    background: rgba(251, 191, 36, 0.13);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #fbbf24;
}

.animetv-wallet-vip-shortcut {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    border-radius: 12px;
    background: rgba(251, 191, 36, 0.11);
    border: 1px solid rgba(251, 191, 36, 0.34);
    color: #fbbf24 !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.animetv-wallet-vip-shortcut:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #11131a !important;
}

/* 2. Cards & Section Headings */
.animetv-wallet-verify-card,
.animetv-wallet-gateway-card,
.animetv-wallet-settlement-card,
.animetv-wallet-history-card {
    border-radius: 24px;
    padding: 24px 28px;
    background: rgba(22, 26, 36, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.animetv-wallet-verify-card {
    border-color: rgba(251, 191, 36, 0.38);
}

.animetv-wallet-sec-head {
    margin-bottom: 18px;
}

.animetv-wallet-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.animetv-wallet-sec-head h3 {
    margin: 0;
    font-size: 16.5px;
    font-weight: 800;
    color: #f8fafc;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.animetv-wallet-sec-head h3 i {
    color: #fbbf24;
}

.animetv-wallet-gateway-card .animetv-wallet-sec-head h3 i {
    color: #34d399;
}

.animetv-wallet-sec-head p {
    margin: 6px 0 0;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.8;
}

.animetv-shaparak-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.28);
    color: #34d399;
    font-size: 11.5px;
    font-weight: 700;
}

.animetv-wallet-inline-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 480px;
}

.animetv-btn-auto {
    width: auto !important;
    padding: 10px 24px !important;
    white-space: nowrap;
}

/* 3. Interactive 5-Preset Amount Grid */
.animetv-wallet-presets {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.animetv-wallet-preset-tile {
    position: relative;
    border-radius: 18px;
    padding: 20px 14px 16px;
    background: rgba(255, 255, 255, 0.035);
    border: 1.5px solid rgba(255, 255, 255, 0.09);
    color: #f8fafc;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.animetv-wallet-preset-tile:hover {
    border-color: rgba(251, 191, 36, 0.45);
    background: rgba(251, 191, 36, 0.06);
    transform: translateY(-2px);
}

.animetv-wallet-preset-tile.is-selected {
    background: linear-gradient(160deg, rgba(251, 191, 36, 0.18), rgba(245, 158, 11, 0.05));
    border-color: #fbbf24;
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.18);
    transform: translateY(-3px);
}

.animetv-preset-ribbon {
    position: absolute;
    top: -10px;
    padding: 2px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
}

.animetv-preset-sub {
    font-size: 11px;
    color: #94a3b8;
}

.animetv-preset-amount {
    font-size: 22px;
    font-weight: 900;
    color: #fbbf24;
    line-height: 1.25;
}

.animetv-preset-cur {
    font-size: 12px;
    color: #cbd5e1;
    font-weight: 700;
}

/* Checkout Bar */
.animetv-wallet-checkout-bar {
    padding: 16px 20px;
    border-radius: 18px;
    background: rgba(14, 17, 25, 0.68);
    border: 1px solid rgba(251, 191, 36, 0.24);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.animetv-wallet-selected-info {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: #cbd5e1;
}

.animetv-wallet-selected-info strong {
    font-size: 19px;
    font-weight: 900;
    color: #fbbf24;
}

.animetv-wallet-pay-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 26px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #11131a !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 10px 26px rgba(245, 158, 11, 0.32);
    transition: all 0.2s ease;
}

.animetv-wallet-pay-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(245, 158, 11, 0.44);
}

.animetv-wallet-bank-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 14px;
    background: rgba(56, 189, 248, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.18);
    color: #cbd5e1;
    font-size: 12px;
    line-height: 1.85;
}

.animetv-wallet-bank-note i {
    color: #38bdf8;
    font-size: 15px;
    margin-top: 4px;
    flex-shrink: 0;
}

.animetv-wallet-bank-note p {
    margin: 0;
}

/* 4. Settlement Card */
.animetv-settlement-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.animetv-settlement-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.animetv-settlement-account {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13.5px;
}

.animetv-settlement-badge {
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
    font-size: 11.5px;
    font-weight: 700;
}

.animetv-settlement-cardnum {
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    font-family: "Segoe UI", monospace;
    font-size: 13px;
}

.animetv-settlement-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
    max-width: 440px;
    justify-content: flex-end;
}

/* 5. Transactions Table */
.animetv-wallet-table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.animetv-wallet-table th {
    background: rgba(255, 255, 255, 0.03);
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    padding: 13px 16px;
}

.animetv-wallet-table td {
    padding: 13px 16px;
    font-size: 13px;
}

.animetv-wallet-table tbody tr:last-child td {
    border-bottom: none;
}

.animetv-tx-code {
    font-family: "Segoe UI", monospace;
    font-size: 12.5px;
    padding: 3px 9px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.045);
    color: #e2e8f0;
}

.animetv-tx-price {
    color: #fbbf24;
    font-weight: 800;
}

.animetv-tx-date {
    color: #94a3b8;
    font-size: 12px;
}

.animetv-tx-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
}

.animetv-tx-pill.is-ok {
    background: rgba(16, 185, 129, 0.14);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.28);
}

.animetv-tx-pill.is-fail {
    background: rgba(148, 163, 184, 0.1);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.animetv-wallet-empty {
    text-align: center;
    padding: 32px 16px;
    color: #8b95a9;
    font-size: 13px;
}

.animetv-wallet-empty i {
    font-size: 30px;
    color: #fbbf24;
    margin-bottom: 8px;
    display: block;
}

/* Day Mode Compatibility */
#animetvApp.day .animetv-wallet-bento-hero,
#animetvApp.day .animetv-wallet-verify-card,
#animetvApp.day .animetv-wallet-gateway-card,
#animetvApp.day .animetv-wallet-settlement-card,
#animetvApp.day .animetv-wallet-history-card {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.09);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

#animetvApp.day .animetv-wallet-balance-lbl,
#animetvApp.day .animetv-wallet-sec-head h3 {
    color: #0f172a;
}

#animetvApp.day .animetv-wallet-preset-tile {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.1);
    color: #0f172a;
}

#animetvApp.day .animetv-preset-cur,
#animetvApp.day .animetv-wallet-selected-info,
#animetvApp.day .animetv-wallet-bank-note {
    color: #334155;
}

#animetvApp.day .animetv-wallet-checkout-bar {
    background: #fffbeb;
}

#animetvApp.day .animetv-tx-code {
    background: #f1f5f9;
    color: #0f172a;
}

@media (max-width: 980px) {
    .animetv-wallet-presets {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .animetv-wallet-bento-hero,
    .animetv-wallet-verify-card,
    .animetv-wallet-gateway-card,
    .animetv-wallet-settlement-card,
    .animetv-wallet-history-card {
        padding: 18px 16px;
    }
    .animetv-wallet-presets {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .animetv-wallet-pay-cta {
        width: 100%;
    }
}

/* ==========================================================================
   AnimeTV Member Hub & Profile Customization Studio (v4.5.8)
   ========================================================================== */
body.animetv-native-body .animetv-member-profile {
    width: 96% !important;
    max-width: 100% !important;
    margin: 0 auto 48px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: flex;
    flex-direction: column;
    gap: 18px;
    --mhub-acc-1: #fbbf24;
    --mhub-acc-2: #d97706;
    --mhub-glow: rgba(251, 191, 36, 0.24);
}

body.animetv-native-body .animetv-member-profile *,
body.animetv-native-body .animetv-member-profile *::before,
body.animetv-native-body .animetv-member-profile *::after {
    box-sizing: border-box;
}

.animetv-member-profile[data-banner-theme="emerald"] {
    --mhub-acc-1: #10b981;
    --mhub-acc-2: #047857;
    --mhub-glow: rgba(16, 185, 129, 0.24);
}
.animetv-member-profile[data-banner-theme="cosmic"] {
    --mhub-acc-1: #a855f7;
    --mhub-acc-2: #6d28d9;
    --mhub-glow: rgba(168, 85, 247, 0.26);
}
.animetv-member-profile[data-banner-theme="crimson"] {
    --mhub-acc-1: #f43f5e;
    --mhub-acc-2: #be123c;
    --mhub-glow: rgba(244, 63, 94, 0.24);
}
.animetv-member-profile[data-banner-theme="cyber"] {
    --mhub-acc-1: #38bdf8;
    --mhub-acc-2: #0284c7;
    --mhub-glow: rgba(56, 189, 248, 0.24);
}
.animetv-member-profile[data-banner-theme="obsidian"] {
    --mhub-acc-1: #94a3b8;
    --mhub-acc-2: #475569;
    --mhub-glow: rgba(148, 163, 184, 0.18);
}

/* 1. Hero Cover & Identity Card */
.animetv-mhub-hero {
    border-radius: 26px;
    overflow: hidden;
    background: rgba(22, 26, 36, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.085);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.42);
}

.animetv-mhub-cover {
    position: relative;
    height: 158px;
    padding: 16px 24px;
    background:
        radial-gradient(circle at 18% 20%, var(--mhub-glow), transparent 55%),
        radial-gradient(circle at 85% 90%, var(--mhub-glow), transparent 50%),
        linear-gradient(135deg, #1b2030 0%, #10131c 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
    transition: background 0.3s ease;
}

.animetv-mhub-cover-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.animetv-mhub-cover-watermark {
    position: absolute;
    left: 28px;
    bottom: -18px;
    font-family: "kalame", "IRANYekanX", sans-serif;
    font-size: 92px;
    font-weight: 900;
    letter-spacing: 5px;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    user-select: none;
    line-height: 1;
}

.animetv-mhub-cover-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.animetv-mhub-quick-counters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.animetv-mhub-counter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(14, 17, 25, 0.62);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 12px;
}

.animetv-mhub-counter-pill i {
    color: var(--mhub-acc-1);
}

.animetv-mhub-theme-picker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(14, 17, 25, 0.66);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.11);
}

.animetv-mhub-picker-lbl {
    font-size: 11.5px;
    color: #cbd5e1;
    margin-left: 3px;
}

.animetv-mhub-swatch {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--sw-color);
    border: 2px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.animetv-mhub-swatch:hover,
.animetv-mhub-swatch.is-active {
    transform: scale(1.22);
    border-color: #ffffff;
    box-shadow: 0 0 10px var(--sw-color);
}

.animetv-mhub-identity-bar {
    padding: 0 28px 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.animetv-mhub-id-right {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 280px;
}

.animetv-mhub-avatar-wrap {
    position: relative;
    margin-top: -50px;
    width: 116px;
    height: 116px;
    border-radius: 28px;
    padding: 4px;
    background: linear-gradient(145deg, var(--mhub-acc-1), var(--mhub-acc-2));
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55);
    flex-shrink: 0;
}

.animetv-mhub-avatar {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    object-fit: cover;
    background: #141722;
    display: block;
}

.animetv-mhub-lvl-pill {
    position: absolute;
    bottom: -9px;
    right: 50%;
    transform: translateX(50%);
    padding: 2px 11px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--mhub-acc-1), var(--mhub-acc-2));
    color: #11131a;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
}

.animetv-mhub-avatar-upload-btn {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 32px;
    height: 32px;
    border-radius: 11px;
    background: #161924;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.animetv-mhub-avatar-upload-btn:hover {
    background: #fbbf24;
    color: #11131a;
}

.animetv-mhub-user-texts {
    padding-top: 14px;
    flex: 1;
    min-width: 240px;
}

.animetv-mhub-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.animetv-mhub-display-name {
    margin: 0;
    font-size: 24px;
    font-weight: 900;
    color: #f8fafc;
}

.animetv-mhub-username {
    font-size: 13px;
    color: #94a3b8;
    font-family: "Segoe UI", sans-serif;
}

.animetv-mhub-role-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
}
.animetv-mhub-role-pill.is-admin {
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.35);
    color: #fb7185;
}
.animetv-mhub-role-pill.is-team {
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.34);
    color: #34d399;
}
.animetv-mhub-role-pill.is-vip {
    background: rgba(251, 191, 36, 0.16);
    border: 1px solid rgba(251, 191, 36, 0.38);
    color: #fbbf24;
}
.animetv-mhub-role-pill.is-member {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.28);
    color: #7dd3fc;
}

.animetv-mhub-bio {
    margin: 8px 0 12px;
    font-size: 13.5px;
    color: #cbd5e1;
    line-height: 1.8;
}

.animetv-mhub-meta-chips {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12.2px;
    color: #94a3b8;
}

.animetv-mhub-meta-chips span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.animetv-mhub-meta-chips span i {
    color: var(--mhub-acc-1);
}

.animetv-mhub-meta-chips span strong {
    color: #f8fafc;
}

.animetv-mhub-meta-chips span.is-emerald {
    color: #34d399;
}

.animetv-mhub-id-left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    padding-top: 14px;
}

.animetv-mhub-xp-card {
    width: 280px;
    max-width: 100%;
    padding: 11px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.animetv-mhub-xp-head {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 7px;
}

.animetv-mhub-xp-head strong {
    color: var(--mhub-acc-1);
}

.animetv-mhub-xp-track {
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-bottom: 6px;
}

.animetv-mhub-xp-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--mhub-acc-2), var(--mhub-acc-1));
}

.animetv-mhub-xp-sub {
    display: flex;
    justify-content: space-between;
    font-size: 10.8px;
    color: #8b95a9;
}

.animetv-mhub-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.animetv-mhub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: 13px;
    font-family: inherit;
    font-size: 12.8px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.animetv-mhub-btn.is-gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #11131a !important;
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.28);
}

.animetv-mhub-btn.is-glass {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    color: #f1f5f9 !important;
}

.animetv-mhub-btn.is-following {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.38);
    color: #34d399 !important;
}

.animetv-mhub-btn:hover {
    transform: translateY(-2px);
}

.animetv-mhub-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.animetv-mhub-icon-btn:hover {
    border-color: var(--mhub-acc-1);
    color: var(--mhub-acc-1);
}

/* 2. Bento Row: 4 Watchlist Stat Tiles + Genre DNA */
.animetv-mhub-bento-row {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 16px;
}

.animetv-mhub-watch-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.animetv-mhub-stat-tile {
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(22, 26, 36, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: inherit;
    font-family: inherit;
    text-align: right;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    transition: all 0.2s ease;
}

.animetv-mhub-stat-tile:hover {
    border-color: rgba(251, 191, 36, 0.36);
    transform: translateY(-2px);
}

.animetv-mhub-stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.animetv-mhub-stat-ico {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.animetv-mhub-stat-pct {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
}

.animetv-mhub-stat-mid {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.animetv-mhub-stat-mid strong {
    font-size: 22px;
    font-weight: 900;
    color: #f8fafc;
}

.animetv-mhub-stat-mid strong small {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

.animetv-mhub-stat-mid span {
    font-size: 13px;
    color: #cbd5e1;
    font-weight: 700;
}

/* Genre DNA Card */
.animetv-mhub-dna-card {
    padding: 20px 22px;
    border-radius: 22px;
    background: rgba(22, 26, 36, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
}

.animetv-mhub-dna-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.animetv-mhub-dna-head h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #f8fafc;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.animetv-mhub-dna-head h3 i {
    color: var(--mhub-acc-1);
}

.animetv-mhub-social-mini {
    display: flex;
    gap: 8px;
}

.animetv-mhub-social-mini a {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.animetv-mhub-social-mini a:hover {
    color: var(--mhub-acc-1);
    border-color: var(--mhub-acc-1);
}

.animetv-mhub-genre-bars {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.animetv-mhub-genre-lbl {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #e2e8f0;
    margin-bottom: 4px;
}

.animetv-mhub-genre-lbl small {
    color: #94a3b8;
}

.animetv-mhub-genre-track {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

.animetv-mhub-genre-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--mhub-acc-2), var(--mhub-acc-1));
}

.animetv-mhub-dna-empty {
    font-size: 12.5px;
    color: #8b95a9;
    line-height: 1.8;
    margin: 0;
}

.animetv-mhub-favs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.animetv-mhub-fav-chip {
    padding: 5px 11px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11.8px;
    color: #cbd5e1;
}

.animetv-mhub-fav-chip strong {
    color: #ffffff;
}

.animetv-mhub-add-fav-link {
    font-size: 12px;
    color: var(--mhub-acc-1) !important;
    text-decoration: none;
}

/* 3. Content Tabs Bar & Panels */
.animetv-mhub-tabs-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px 10px;
    border-radius: 18px;
    background: rgba(22, 26, 36, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.animetv-mhub-tab {
    padding: 10px 18px;
    border-radius: 13px;
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.animetv-mhub-tab small {
    padding: 1px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 11px;
}

.animetv-mhub-tab.is-active {
    background: linear-gradient(135deg, var(--mhub-acc-1), var(--mhub-acc-2));
    color: #11131a;
}

.animetv-mhub-tab.is-active small {
    background: rgba(0, 0, 0, 0.18);
    color: #11131a;
}

.animetv-mhub-panel {
    display: none;
}

.animetv-mhub-panel.is-active {
    display: block;
}

.animetv-mhub-lib-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.animetv-mhub-filter-pill {
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #cbd5e1;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
}

.animetv-mhub-filter-pill.is-active {
    border-color: var(--mhub-acc-1);
    background: var(--mhub-glow);
    color: #ffffff;
}

.animetv-mhub-posters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 16px;
}

.animetv-mhub-poster-card {
    border-radius: 18px;
    overflow: hidden;
    background: rgba(22, 26, 36, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.22s ease, border-color 0.22s ease;
    display: flex;
    flex-direction: column;
}

.animetv-mhub-poster-card:hover {
    transform: translateY(-4px);
    border-color: var(--mhub-acc-1);
}

.animetv-mhub-poster-img {
    position: relative;
    aspect-ratio: 2 / 2.75;
    overflow: hidden;
}

.animetv-mhub-poster-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.animetv-mhub-st-badge {
    position: absolute;
    top: 9px;
    right: 9px;
    padding: 3px 9px;
    border-radius: 8px;
    font-size: 10.5px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}
.animetv-mhub-st-badge.st-watching { background: rgba(14, 165, 233, 0.85); color: #fff; }
.animetv-mhub-st-badge.st-plan { background: rgba(245, 158, 11, 0.9); color: #11131a; }
.animetv-mhub-st-badge.st-completed { background: rgba(16, 185, 129, 0.88); color: #fff; }
.animetv-mhub-st-badge.st-dropped { background: rgba(244, 63, 94, 0.86); color: #fff; }

.animetv-mhub-ep-badge {
    position: absolute;
    bottom: 9px;
    left: 9px;
    padding: 2px 8px;
    border-radius: 7px;
    background: rgba(12, 15, 22, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fbbf24;
    font-size: 11px;
    font-weight: 800;
}

.animetv-mhub-poster-foot {
    padding: 11px 12px 13px;
}

.animetv-mhub-poster-foot h4 {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 700;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.animetv-mhub-poster-foot span {
    font-size: 11.5px;
    color: #94a3b8;
}

/* Comments List */
.animetv-mhub-comments-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.animetv-mhub-comment-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(22, 26, 36, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none !important;
    color: inherit;
    transition: border-color 0.2s ease;
}

.animetv-mhub-comment-item:hover {
    border-color: var(--mhub-acc-1);
}

.animetv-mhub-comment-thumb {
    width: 52px;
    height: 70px;
    border-radius: 11px;
    object-fit: cover;
    flex-shrink: 0;
}

.animetv-mhub-comment-body {
    flex: 1;
    min-width: 0;
}

.animetv-mhub-comment-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 5px;
}

.animetv-mhub-comment-top strong {
    font-size: 14px;
    color: var(--mhub-acc-1);
}

.animetv-mhub-comment-top span {
    font-size: 11.5px;
    color: #8b95a9;
}

.animetv-mhub-comment-body p {
    margin: 0;
    font-size: 13px;
    color: #e2e8f0;
    line-height: 1.8;
}

/* Achievements Grid */
.animetv-mhub-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 14px;
}

.animetv-mhub-badge-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(22, 26, 36, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.animetv-mhub-badge-card.is-unlocked {
    border-color: rgba(251, 191, 36, 0.34);
    background: linear-gradient(145deg, rgba(251, 191, 36, 0.09), rgba(22, 26, 36, 0.95));
}

.animetv-mhub-badge-card.is-locked {
    opacity: 0.52;
}

.animetv-mhub-badge-ico {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: rgba(251, 191, 36, 0.14);
    color: #fbbf24;
    font-size: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.animetv-mhub-badge-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.animetv-mhub-badge-head h4 {
    margin: 0;
    font-size: 14px;
    color: #f8fafc;
}

.animetv-mhub-badge-head span {
    font-size: 10.5px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    font-weight: 700;
}

.animetv-mhub-badge-card.is-locked .animetv-mhub-badge-head span {
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

.animetv-mhub-badge-card p {
    margin: 0;
    font-size: 12px;
    color: #94a3b8;
}

/* Edit Profile Avatar Row */
.animetv-edit-avatar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.animetv-edit-avatar-box {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.animetv-edit-avatar-img {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    object-fit: cover;
    border: 2px solid #fbbf24;
}

/* Day Mode Overrides for Member Hub */
#animetvApp.day .animetv-mhub-hero,
#animetvApp.day .animetv-mhub-stat-tile,
#animetvApp.day .animetv-mhub-dna-card,
#animetvApp.day .animetv-mhub-tabs-bar,
#animetvApp.day .animetv-mhub-poster-card,
#animetvApp.day .animetv-mhub-comment-item,
#animetvApp.day .animetv-mhub-badge-card {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.09);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

#animetvApp.day .animetv-mhub-display-name,
#animetvApp.day .animetv-mhub-stat-mid strong,
#animetvApp.day .animetv-mhub-dna-head h3,
#animetvApp.day .animetv-mhub-poster-foot h4,
#animetvApp.day .animetv-mhub-badge-head h4,
#animetvApp.day .animetv-mhub-meta-chips span strong {
    color: #0f172a;
}

#animetvApp.day .animetv-mhub-bio,
#animetvApp.day .animetv-mhub-stat-mid span,
#animetvApp.day .animetv-mhub-genre-lbl,
#animetvApp.day .animetv-mhub-comment-body p,
#animetvApp.day .animetv-mhub-tab:not(.is-active) {
    color: #334155;
}

@media (max-width: 1080px) {
    .animetv-mhub-bento-row {
        grid-template-columns: 1fr;
    }
    .animetv-mhub-id-left {
        align-items: flex-start;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .animetv-mhub-identity-bar {
        padding: 0 18px 20px;
    }
    .animetv-mhub-watch-grid {
        grid-template-columns: 1fr;
    }
    .animetv-mhub-posters-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==========================================================================
   Single Top Header Row: Title + Inline Genres (Right) & Like/Dislike (Left)
   ========================================================================== */
.single-title-row.animetv-title-meta-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 0 0 4px !important;
    direction: rtl !important;
    flex-wrap: wrap !important;
}

.animetv-title-genres-group {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    min-width: 0;
    flex: 1 1 auto;
}

.animetv-title-genres-group .single-genres-row {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
}

.single-title-row.animetv-title-meta-row .modern-reactions-row {
    margin-right: auto !important;
    flex-shrink: 0 !important;
}

/* ==========================================================================
   3-Step Interactive Ticket VIP Checkout Studio (v4.6.1)
   ========================================================================== */
body.animetv-native-body .body > .animetv-vip-page {
    width: 96% !important;
    max-width: none !important;
    margin: 0 auto 48px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

body.animetv-native-body .animetv-profile-content .animetv-vip-page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.animetv-vip-page *,
.animetv-vip-page *::before,
.animetv-vip-page *::after {
    box-sizing: border-box;
}

/* 1. 3-Step Progress Stepper Bar */
.animetv-vip-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 28px;
    margin-bottom: 20px;
    border-radius: 24px;
    background: linear-gradient(165deg, rgba(24, 28, 39, 0.95), rgba(17, 20, 29, 0.97));
    border: 1px solid rgba(255, 255, 255, 0.085);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.animetv-vstep {
    display: flex;
    align-items: center;
    gap: 13px;
    opacity: 0.55;
    transition: all 0.25s ease;
}

.animetv-vstep.is-active,
.animetv-vstep.is-done {
    opacity: 1;
}

.animetv-vstep-circle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.animetv-vstep-circle .vstep-check {
    display: none;
}

.animetv-vstep.is-active:not(.is-done) .animetv-vstep-circle {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-color: transparent;
    color: #11131a;
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.34);
}

.animetv-vstep.is-done .animetv-vstep-circle {
    background: rgba(16, 185, 129, 0.18);
    border-color: #10b981;
    color: #34d399;
}

.animetv-vstep.is-done.is-final .animetv-vstep-circle {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-color: transparent;
    color: #11131a;
    box-shadow: 0 10px 26px rgba(245, 158, 11, 0.42);
}

.animetv-vstep.is-done .animetv-vstep-circle .vstep-num {
    display: none;
}

.animetv-vstep.is-done .animetv-vstep-circle .vstep-check {
    display: inline-block;
}

.animetv-vstep-texts strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #f8fafc;
}

.animetv-vstep.is-active .animetv-vstep-texts strong {
    color: #fbbf24;
}

.animetv-vstep.is-done:not(.is-final) .animetv-vstep-texts strong {
    color: #34d399;
}

.animetv-vstep-texts span {
    display: block;
    font-size: 11.5px;
    color: #94a3b8;
    margin-top: 2px;
}

.animetv-vstep-line {
    flex: 1;
    height: 3px;
    min-width: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.animetv-vstep-line.is-filled {
    background: linear-gradient(90deg, #10b981, #fbbf24);
}

/* 2. Interactive Ticket Studio + Live Invoice Dock */
.animetv-vticket-studio {
    display: grid;
    grid-template-columns: 1.38fr 0.95fr;
    gap: 18px;
    align-items: start;
}

.animetv-vticket-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.animetv-vticket-card {
    position: relative;
    padding: 22px 24px;
    border-radius: 22px;
    background: rgba(22, 26, 36, 0.94);
    border: 2px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
    outline: none;
}

.animetv-vticket-card:hover {
    border-color: rgba(251, 191, 36, 0.42);
    transform: translateY(-2px);
}

.animetv-vticket-card.is-selected {
    border-color: #fbbf24;
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.13), rgba(22, 26, 36, 0.96) 65%);
    box-shadow: 0 22px 48px rgba(245, 158, 11, 0.16);
}

.animetv-vticket-main {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.animetv-vticket-radio {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 12px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.animetv-vticket-card.is-selected .animetv-vticket-radio {
    border-color: #fbbf24;
    background: #fbbf24;
    color: #11131a;
}

.animetv-vticket-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.animetv-vticket-info h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #f8fafc;
}

.animetv-vticket-save-badge {
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.34);
    color: #34d399;
    font-size: 11px;
    font-weight: 800;
}

.animetv-vticket-info p {
    margin: 0;
    font-size: 12.2px;
    color: #94a3b8;
    line-height: 1.75;
}

.animetv-vticket-price {
    text-align: left;
    flex-shrink: 0;
}

.animetv-vticket-price del {
    display: block;
    font-size: 12.5px;
    color: #64748b;
}

.animetv-vticket-price strong {
    display: block;
    font-size: 25px;
    font-weight: 900;
    color: #fbbf24;
    line-height: 1.15;
}

.animetv-vticket-price strong small {
    font-size: 12.5px;
    color: #cbd5e1;
    font-weight: 700;
}

.animetv-vticket-price span {
    display: block;
    font-size: 11.2px;
    color: #94a3b8;
    margin-top: 2px;
}

.animetv-vticket-perks {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;
}

.animetv-vperk-tile {
    padding: 13px 14px;
    border-radius: 16px;
    background: rgba(22, 26, 36, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.075);
}

.animetv-vperk-tile strong {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #f8fafc;
    margin-bottom: 3px;
}

.animetv-vperk-tile span {
    font-size: 11px;
    color: #8b95a9;
}

/* Left Checkout Invoice Dock */
.animetv-vticket-dock {
    padding: 26px;
    border-radius: 26px;
    background: linear-gradient(165deg, rgba(24, 28, 40, 0.96), rgba(16, 19, 28, 0.98));
    border: 1px solid rgba(251, 191, 36, 0.34);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.42);
}

.animetv-vdock-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.animetv-vdock-crown {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(251, 191, 36, 0.14);
    border: 1px solid rgba(251, 191, 36, 0.34);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    flex-shrink: 0;
}

.animetv-vdock-head h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #f8fafc;
}

.animetv-vdock-head span {
    font-size: 11.8px;
    color: #94a3b8;
}

.animetv-vdock-rows {
    padding: 15px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.075);
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 18px;
    font-size: 13px;
}

.animetv-vdock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #cbd5e1;
}

.animetv-vdock-row strong {
    color: #f8fafc;
}

.animetv-vdock-row strong.is-save {
    color: #34d399;
}

.animetv-vdock-charge-link {
    color: #fbbf24 !important;
    font-weight: 700;
    margin-right: 5px;
    text-decoration: none;
}

.animetv-vdock-row.is-total {
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.14);
    font-size: 15px;
    font-weight: 800;
    color: #f8fafc;
}

.animetv-vdock-row.is-total strong {
    font-size: 19px;
    color: #fbbf24;
}

.animetv-vdock-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.animetv-vticket-btn-gold {
    width: 100%;
    padding: 13px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #11131a !important;
    font-family: inherit;
    font-size: 13.8px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 26px rgba(245, 158, 11, 0.3);
    transition: all 0.2s ease;
}

.animetv-vticket-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(245, 158, 11, 0.42);
}

.animetv-vticket-btn-sec {
    width: 100%;
    padding: 12px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.13);
    color: #f1f5f9 !important;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.animetv-vticket-btn-sec:hover {
    border-color: rgba(251, 191, 36, 0.45);
    color: #fbbf24 !important;
}

/* 3. Step 3 Celebration / Activated View */
.animetv-vip-activated-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 40px 32px;
    background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.16), transparent 55%),
                linear-gradient(165deg, rgba(24, 29, 41, 0.97), rgba(16, 19, 28, 0.99));
    border: 1.5px solid rgba(16, 185, 129, 0.38);
    text-align: center;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.48);
    margin-bottom: 20px;
}

.animetv-vip-act-badge {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    border-radius: 22px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #11131a;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 34px rgba(245, 158, 11, 0.38);
}

.animetv-vip-act-pill {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.36);
    color: #34d399;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}

.animetv-vip-act-title {
    margin: 0 0 10px;
    font-size: 25px;
    font-weight: 900;
    color: #f8fafc;
}

.animetv-vip-act-sub {
    max-width: 640px;
    margin: 0 auto 24px;
    font-size: 13.5px;
    color: #cbd5e1;
    line-height: 1.9;
}

.animetv-vip-act-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 760px;
    margin: 0 auto 26px;
}

.animetv-vip-act-stat {
    padding: 15px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.085);
}

.animetv-vip-act-stat span {
    display: block;
    font-size: 11.8px;
    color: #94a3b8;
    margin-bottom: 5px;
}

.animetv-vip-act-stat strong {
    font-size: 18px;
    font-weight: 900;
    color: #fbbf24;
}

.animetv-vip-act-stat strong.is-emerald {
    color: #34d399;
    font-size: 15px;
}

.animetv-vip-act-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.animetv-vip-show-plans-link {
    background: none;
    border: none;
    color: #94a3b8;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    padding: 8px 12px;
}

.animetv-vip-show-plans-link:hover {
    color: #fbbf24;
}

/* Day Mode Support */
#animetvApp.day .animetv-vip-stepper,
#animetvApp.day .animetv-vticket-card,
#animetvApp.day .animetv-vperk-tile,
#animetvApp.day .animetv-vticket-dock,
#animetvApp.day .animetv-vip-activated-card {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

#animetvApp.day .animetv-vticket-card.is-selected {
    background: #fffbeb;
    border-color: #d97706;
}

#animetvApp.day .animetv-vstep-texts strong,
#animetvApp.day .animetv-vticket-info h3,
#animetvApp.day .animetv-vperk-tile strong,
#animetvApp.day .animetv-vdock-head h3,
#animetvApp.day .animetv-vdock-row.is-total,
#animetvApp.day .animetv-vip-act-title {
    color: #0f172a;
}

#animetvApp.day .animetv-vdock-row,
#animetvApp.day .animetv-vip-act-sub,
#animetvApp.day .animetv-vticket-btn-sec {
    color: #334155 !important;
}

@media (max-width: 1024px) {
    .animetv-vticket-studio {
        grid-template-columns: 1fr;
    }
    .animetv-vticket-perks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .animetv-vip-stepper {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 20px;
    }
    .animetv-vstep-line {
        display: none;
    }
    .animetv-vticket-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .animetv-vticket-price {
        text-align: right;
        width: 100%;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
    }
    .animetv-vip-act-stats {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Single Page Breadcrumb Above Cover Poster (v4.6.3)
   ========================================================================== */
.animetv-single-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 12px;
    padding: 7px 14px;
    border-radius: 13px;
    background: rgba(22, 26, 36, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.075);
    width: fit-content;
    max-width: 100%;
    font-size: 12px;
}

.animetv-single-breadcrumb .animetv-bc-link {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    transition: color 0.18s ease;
}

.animetv-single-breadcrumb .animetv-bc-link:hover {
    color: #fbbf24 !important;
}

#animetvApp.day .animetv-single-breadcrumb {
    background: #ffffff !important;
    border-color: rgba(15, 23, 42, 0.09) !important;
}

#animetvApp.day .animetv-single-breadcrumb .animetv-bc-link {
    color: #334155 !important;
}

#animetvApp.day .animetv-single-breadcrumb .animetv-bc-current {
    color: #d97706 !important;
}
