/* Resource picker: page-local styles, no external images required. */
/* =========================
   深色影片信息区域
   ========================= */

.movie-hero {
    position: relative;
    color: #eee;
    background: #303030;

    /* 将深色背景延伸至屏幕左右两侧 */
    box-shadow: 0 0 0 100vmax #303030;
    clip-path: inset(0 -100vmax);
}

/* 影片标题 */
.movie-hero .myui-content__detail .title {
    color: #fff !important;
}

/* 分类、地区、年份等资料 */
.movie-hero .myui-content__detail .data {
    color: #eee;
}

/* “演员、导演、地区”等字段名称 */
.movie-hero .myui-content__detail .text-muted {
    color: #999 !important;
}

/* 演员、导演链接 */
.movie-hero .myui-content__detail .data a {
    color: #fff;
}

.movie-hero .myui-content__detail .data a:hover {
    color: #45a9e8;
}

/* 信息之间的竖线 */
.movie-hero .split-line {
    border-color: rgba(255, 255, 255, 0.16);
}

/* 原有横向分隔线 */
.movie-hero .topline {
    border-color: rgba(255, 255, 255, 0.12);
}

/* 演员展开按钮 */
.movie-hero .content-toggle {
    color: #f5a623;
    text-decoration: none;
}

.movie-hero .content-toggle:hover,
.movie-hero .content-toggle:focus,
.movie-hero .content-toggle:active {
    color: #ffbd55;
    text-decoration: none;
}

/* 演员区域允许换行 */
.movie-hero .myui-content__detail .actor-list {
    max-width: 100%;
    line-height: 1.8;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere;
}

.movie-hero .actor-list a {
    display: inline;
    white-space: normal;
}

.movie-hero .actor-list .content-toggle {
    display: inline-block;
    white-space: nowrap;
}

/* 海报层次 */
.movie-hero .myui-vodlist__thumb {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
}

/* 豆瓣评分 */
.movie-hero .douban-rating__label {
    color: #999;
}

.movie-hero .douban-rating__score {
    color: #ff9800;
}

.movie-hero .douban-rating__badge {
    border-color: rgba(255, 152, 0, 0.45);
    background: rgba(255, 152, 0, 0.12);
    color: #ffad33;
}

.douban-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.douban-rating__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 8px;
    border: 1px solid rgba(70, 190, 120, 0.55);
    border-radius: 3px;
    background: rgba(0, 119, 34, 0.12);
    color: #55c987;
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition:
        border-color 0.15s ease,
        background-color 0.15s ease,
        color 0.15s ease;
}

.douban-rating__link:hover,
.douban-rating__link:focus {
    border-color: #00a65a;
    background: #007722;
    color: #fff;
    text-decoration: none;
}

.douban-rating__link:focus-visible {
    outline: 2px solid rgba(85, 201, 135, 0.6);
    outline-offset: 2px;
}

.content-toggle {
    margin-left: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #999;
    font: inherit;
  	text-decoration: none;
    cursor: pointer;
}

.content-toggle:hover {
    color: #999;
    text-decoration: none;
}

.content-toggle:focus-visible {
    outline: 2px solid #45a9e8;
    outline-offset: 2px;
}

.resource-picker {
    max-width: 100%;
    color: #333;
    box-sizing: border-box;
}

.resource-picker *,
.resource-picker *:before,
.resource-picker *:after {
    box-sizing: border-box;
}

.resource-picker__intro {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.resource-picker__intro h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.resource-picker__hint,
.resource-picker__foot {
    color: #999;
    font-size: 13px;
}

.resource-picker__options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.resource-option {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 76px;
    padding: 12px 42px 12px 12px;
    border: 1px solid #e1e5e9;
    border-radius: 5px;
    background: #fafafa;
    color: #333;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}

.resource-option:hover {
    border-color: #8dc9ef;
    background: #f7fcff;
}

.resource-option:focus-visible {
    outline: 2px solid #45a9e8;
    outline-offset: 2px;
}

.resource-option.is-active {
    border: 2px solid #45a9e8;
    background: #eef8fe;
    padding: 11px 41px 11px 11px;
}

.resource-option.is-disabled,
.resource-option:disabled {
    border-color: #e5e7e9;
    background: #f4f4f4;
    color: #aaa;
    cursor: not-allowed;
    opacity: .72;
}

.resource-option.is-disabled:hover,
.resource-option:disabled:hover {
    border-color: #e5e7e9;
    background: #f4f4f4;
}

.resource-option.is-disabled .resource-option__icon,
.resource-option:disabled .resource-option__icon {
    background: #b9bec3;
    filter: grayscale(1);
}

.resource-option.is-disabled .resource-option__mark,
.resource-option:disabled .resource-option__mark {
    border-color: #c9cdd1;
    background: #e1e3e5;
}

.resource-option.is-disabled .resource-option__meta,
.resource-option:disabled .resource-option__meta {
    color: #aaa;
}

.resource-option__mark {
    position: absolute;
    top: 50%;
    right: 13px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    border: 2px solid #b8c0c8;
    border-radius: 50%;
    background: #fff;
}

.resource-option.is-active .resource-option__mark {
    border-color: #45a9e8;
    background: #45a9e8;
}

.resource-option.is-active .resource-option__mark:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.resource-option__icon {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-right: 11px;
    border-radius: 10px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}

.resource-option__icon--quark {
    background: #477df5;
}

.resource-option__icon--baidu {
    background: #39a9e8;
}

.resource-option__icon--pikpak {
    background: #536df7;
}

.resource-option__copy {
    min-width: 0;
}

.resource-option__title {
    display: block;
    overflow: hidden;
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.resource-option__meta {
    display: block;
    overflow: hidden;
    color: #8b939a;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.resource-option__badge {
    display: inline-block;
    margin-left: 5px;
    padding: 2px 5px;
    border-radius: 3px;
    background: #45a9e8;
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    vertical-align: 2px;
}

.resource-picker__actions {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(150px, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.resource-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid #d8dde2;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.resource-action:hover {
    color: #248dcc;
    border-color: #8dc9ef;
}

.resource-action--primary {
    border-color: #45a9e8;
    background: #45a9e8;
    color: #fff;
}

.resource-action--primary:hover {
    border-color: #2998dc;
    background: #2998dc;
    color: #fff;
}

.resource-action.is-disabled,
.resource-action:disabled {
    border-color: #d8dde2;
    background: #e8eaec;
    color: #aaa;
    cursor: not-allowed;
    pointer-events: none;
}

.resource-action__icon {
    margin-right: 7px;
    font-size: 18px;
    line-height: 1;
}

.resource-picker__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.resource-picker__feedback {
    color: #2998dc;
    font-size: 13px;
    white-space: nowrap;
}

.resource-picker__feedback:hover {
    color: #1677b3;
}

.resource-picker__qr {
    display: none;
    margin-top: 12px;
    padding: 14px;
    border: 1px solid #e7eaed;
    background: #fafafa;
    text-align: center;
}

.resource-picker__qr.is-visible {
    display: block;
}

.resource-picker__qr img {
    width: 120px !important;
    height: 120px !important;
    margin: 0 auto 8px;
}

.resource-picker__mobile-label {
    display: none;
}

.resource-picker__toast {
    min-height: 20px;
    margin-top: 6px;
    color: #2998dc;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 767px) {
  
  .movie-hero {
        padding-top: 10px;
        padding-bottom: 12px;
    }

    .movie-hero .myui-content__detail .title {
        color: #fff !important;
    }

    .movie-hero .myui-content__detail .data {
        color: #eee;
    }

    .movie-hero .myui-content__detail .actor-list {
        line-height: 1.7;
    }
  
    .resource-picker {
            width: 100%;
   			max-width: 100%;
    }

    .resource-picker__intro {
        display: block;
        margin-bottom: 11px;
    }

    .resource-picker__intro h4 {
        margin-bottom: 4px;
        font-size: 17px;
    }

    .resource-picker__options {
    	grid-template-columns: repeat(3, minmax(0, 1fr));
    	gap: 6px;
    }

    .resource-option {
        flex-direction: column;
        justify-content: center;
        min-height: 88px;
        padding: 8px 4px 25px;
        text-align: center;
    }

    .resource-option.is-active {
        padding: 7px 3px 24px;
    }

    .resource-option__icon {
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
        margin: 0 0 6px;
        border-radius: 8px;
        font-size: 14px;
    }

    .resource-option__copy {
        width: 100%;
    }

    .resource-option__title {
        margin: 0;
        font-size: 13px;
        white-space: normal;
    }

    .resource-option__meta,
    .resource-option__badge {
        display: none;
    }

    .resource-option__mark {
        top: auto;
        right: 50%;
        bottom: 5px;
        margin: 0 -9px 0 0;
        width: 18px;
        height: 18px;
    }

    .resource-option.is-active .resource-option__mark:after {
        left: 4px;
        top: 1px;
    }

    .resource-picker__actions {
    	grid-template-columns: minmax(0, 1fr);
    	width: 100%;
   		max-width: 100%;
    }

    .resource-action {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        min-height: 44px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .resource-picker__desktop-label {
        display: none;
    }

    .resource-picker__mobile-label {
        display: inline;
    }

    .resource-picker__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .resource-picker__feedback {
        align-self: flex-start;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .resource-picker__qr {
        display: none !important;
    }
}