/********************************************************
 * TV V2 Show Detail Page
 ********************************************************/
.mc-tv-v2-show-detail
{
    width: 100%;
    color: var(--default_table_text_color);
}

.mc-tv-v2-error,
.mc-tv-v2-empty
{
    color: var(--default_table_text_color);
    text-align: center;
    padding: 20px;
}

/********************************************************
 * Hero
 ********************************************************/
.mc-tv-v2-hero
{
    display: flex;
    gap: 22px;
    align-items: flex-end;

    min-height: 440px;
    padding: 24px;
    margin: 12px 0 18px 0;

    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 16px;
    overflow: hidden;

    background-color: rgba(0,0,0,0.35);
    background-size: cover;
    background-position: center center;
}

.mc-tv-v2-hero-poster
{
    width: 180px;
    min-width: 180px;
    aspect-ratio: 2 / 3;

    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
}

.mc-tv-v2-hero-poster img
{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.mc-tv-v2-poster-placeholder
{
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    font-size: 13px;
    opacity: 0.75;
}

.mc-tv-v2-hero-info
{
    flex: 1;
    min-width: 0;
    max-width: 850px;
}

.mc-tv-v2-title
{
    margin: 0 0 12px 0;
    color: #ffffff;
    font-size: 42px;
    line-height: 1.05;
    font-weight: 700;
}

.mc-tv-v2-badges
{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.mc-tv-v2-badge
{
    display: inline-block;
    padding: 6px 10px;

    border-radius: 999px;
    background: rgba(255,255,255,0.13);
    border: 1px solid rgba(255,255,255,0.18);

    color: #ffffff;
    font-size: 13px;
    line-height: 1;
}

.mc-tv-v2-summary
{
    color: #ffffff;
    font-size: 15px;
    line-height: 1.55;
    max-width: 780px;
}

.mc-tv-v2-summary p
{
    margin: 0;
}

.mc-tv-v2-meta-grid
{
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14px;
}

.mc-tv-v2-meta-item
{
    color: rgba(255,255,255,0.88);
    font-size: 14px;
    line-height: 1.4;
}

/********************************************************
 * Club Rating
 ********************************************************/
.mc-tv-v2-club-rating
{
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 14px;
    padding: 8px 12px;

    border-radius: 12px;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.16);
}

.mc-tv-v2-club-rating-number
{
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
}

.mc-tv-v2-club-rating-label,
.mc-tv-v2-club-rating-count
{
    color: rgba(255,255,255,0.82);
    font-size: 13px;
}

/********************************************************
 * Movie-style Ratings Section
 ********************************************************/
.MovieRatingsSection
{
    margin        : 16px 0 0 0;
    padding       : 24px 26px;
    border        : 1px solid rgba(255,255,255,0.14);
    border-radius : 12px;
    background    : rgba(0,0,0,0.16);
    color         : var(--default_table_text_color);
}

.MovieDetailSectionTitle
{
    margin      : 0 0 18px 0;
    font-size   : 20px;
    font-weight : 600;
    color       : var(--default_table_text_color);
}

.mc-tv-v2-ratings-placeholder
{
    padding: 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    color: var(--default_table_text_color);
    opacity: 0.8;
}

/********************************************************
 * Seasons Section - No big background/card
 ********************************************************/
.mc-tv-v2-seasons-section
{
    margin     : 22px 0 0 0;
    padding    : 0;
    border     : none;
    background : transparent;
    color      : var(--default_table_text_color);
}

.mc-tv-v2-section-title
{
    margin: 0 0 14px 0;
    color: var(--default_table_text_color);
    font-size: 22px;
    font-weight: 600;
}

/********************************************************
 * Season Grid
 ********************************************************/
.mc-tv-v2-season-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 18px;
}

.mc-tv-v2-season-card
{
    display: block;
    text-decoration: none;
    color: inherit;
}

.mc-tv-v2-season-poster-wrap
{
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;

    overflow: hidden;
    border-radius: 12px;

    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
}

.mc-tv-v2-season-poster
{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.mc-tv-v2-season-card:hover .mc-tv-v2-season-poster
{
    transform: scale(1.05);
}

.mc-tv-v2-season-overlay
{
    position: absolute;
    inset: 0;
    display: block;
    padding: 12px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mc-tv-v2-season-card:hover .mc-tv-v2-season-overlay
{
    opacity: 1;
}

.mc-tv-v2-season-overlay-content
{
    color: #ffffff;
    width: 100%;
}

.mc-tv-v2-season-overlay-rating
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 22px;
    font-weight: 600;
}

.mc-tv-v2-season-placeholder
{
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 12px;
    text-align: center;

    color: var(--default_table_text_color);
    background: rgba(255,255,255,0.05);
    font-size: 13px;
}

.mc-tv-v2-season-info
{
    padding: 9px 2px 0 2px;
}

.mc-tv-v2-season-title
{
    color: var(--default_table_text_color);
    font-size: 15px;
    font-weight: 600;
}

.mc-tv-v2-season-meta
{
    margin-top: 3px;
    color: var(--default_table_text_color);
    font-size: 13px;
    opacity: 0.72;
}

.MovieRatingsTopGrid
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-bottom: 30px;
}

.MovieRatingCard
{
    padding: 10px 26px;
    border-right: 1px solid rgba(255,255,255,0.16);
}

.MovieRatingCard:last-child
{
    border-right: none;
}

.MovieRatingLabel
{
    font-size: 13px;
    opacity: 0.75;
    margin-bottom: 10px;
}

.MovieRatingSubtext
{
    margin-top: 10px;
    font-size: 12px;
    opacity: 0.65;
}

.MovieBrowseRatingsHeader
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
}

.MovieRatingsFilter
{
    min-width: 260px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    color: var(--default_table_text_color);
    border: 1px solid rgba(255,255,255,0.18);
}

.MovieRatingsList
{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 44px;
}

.MovieMiniRatingRow
{
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.14);
    cursor: pointer;
}

.MovieMiniRatingScore
{
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 767px)
{
    .MovieRatingsTopGrid,
    .MovieRatingsList
    {
        grid-template-columns: 1fr;
    }

    .MovieRatingCard
    {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.14);
    }

    .MovieBrowseRatingsHeader
    {
        flex-direction: column;
        align-items: stretch;
    }

    .MovieRatingsFilter
    {
        width: 100%;
    }
}

/********************************************************
 * Mobile
 ********************************************************/
@media (max-width: 767px)
{
    .mc-tv-v2-hero
    {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
        padding: 18px;
    }

    .mc-tv-v2-hero-poster
    {
        width: 140px;
        min-width: 140px;
    }

    .mc-tv-v2-title
    {
        font-size: 30px;
    }

    .mc-tv-v2-season-grid
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

/********************************************************
 * Movie-style rating section should use colored text,
 * not table-cell background blocks
 ********************************************************/
.MovieRatingsSection .rating-cell
{
    display: inline-block;
    width: auto;
    min-width: 0;
    padding: 0;
    background: transparent !important;
    border-radius: 0;
}

.MovieRatingsSection .rating-cell.has-justification::after
{
    display: none !important;
}

.MovieRatingsSection .MovieRatingValue.rating-cell,
.MovieRatingsSection .MovieMiniRatingScore.rating-cell
{
    background-color: transparent !important;
}

.mc-tv-v2-show-detail,
.mc-tv-v2-season-detail,
.mc-tv-v2-episode-detail
{
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.mc-tv-v2-hero
{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background-clip: padding-box;
}

.mc-tv-v2-hero-poster
{
    flex: 0 0 180px;
    box-sizing: border-box;
    overflow: hidden;
}

.mc-tv-v2-hero-poster img
{
    max-width: 100%;
}