:root {
    --ify-bg: #f6f7fb;
    --ify-surface: rgba(255, 255, 255, 0.96);
    --ify-surface-strong: #ffffff;
    --ify-text: #1f1b18;
    --ify-text-muted: #6f675f;
    --ify-line: rgba(55, 65, 120, 0.12);
    --ify-primary: #6f7cff;
    --ify-primary-strong: #4f46e5;
    --ify-shadow: 0 18px 40px rgba(31, 58, 147, 0.08);
    --ify-shadow-soft: 0 10px 22px rgba(31, 58, 147, 0.05);
    --ify-radius: 24px;
    --ify-radius-sm: 16px;
    --ify-shell: min(1400px, calc(100vw - 48px));
}

html.theme-black {
    --ify-bg: #12110f;
    --ify-surface: rgba(27, 24, 22, 0.96);
    --ify-surface-strong: rgba(31, 28, 26, 0.98);
    --ify-text: #f5eee7;
    --ify-text-muted: rgba(241, 229, 217, 0.72);
    --ify-line: rgba(255, 241, 226, 0.1);
    --ify-primary: #8b8cff;
    --ify-primary-strong: #38bdf8;
    --ify-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    --ify-shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.28);
}

html,
body {
    background:
        radial-gradient(circle at top left, rgba(45, 197, 255, 0.12), transparent 32%),
        radial-gradient(circle at top right, rgba(164, 92, 255, 0.10), transparent 28%),
        var(--ify-bg);
    color: var(--ify-text);
}

body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.container,
.row,
.member-wrap,
.vod_row,
.left_row,
.right_row,
.pannel,
.box,
.header,
.foot-wrap {
    box-sizing: border-box;
}

.container,
.vod_row,
.ify-footer__shell,
.ify-header__inner,
.ify-mobile__bar,
.ify-mobile__search form {
    width: var(--ify-shell);
    margin: 0 auto;
}

.member-wrap {
    background: transparent !important;
}

.ify-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.ify-header__bar,
.ify-mobile__bar {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

html.theme-black .ify-header__bar,
html.theme-black .ify-mobile__bar {
    background: rgba(18, 17, 15, 0.72);
}

.ify-header.is-solid .ify-header__bar,
.ify-header.is-solid .ify-mobile__bar {
    background: rgba(246, 247, 251, 0.94);
    border-color: var(--ify-line);
    box-shadow: var(--ify-shadow-soft);
}

html.theme-black .ify-header.is-solid .ify-header__bar,
html.theme-black .ify-header.is-solid .ify-mobile__bar {
    background: rgba(18, 17, 15, 0.92);
}

.ify-header__inner,
.ify-mobile__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    min-height: 78px;
}

.ify-brand,
.ify-mobile__brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

.ify-brand__logo,
.ify-mobile__brand {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.ify-brand__logo img,
.ify-mobile__brand img {
    display: block;
    max-height: 34px;
    width: auto;
}

.ify-brand__dark {
    display: none;
}

html.theme-black .ify-brand__dark {
    display: block;
}

html.theme-black .ify-brand__light {
    display: none;
}

.ify-brand__word {
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ify-text-muted);
}

.ify-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
}

.ify-nav__item {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--ify-text);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease, background 0.2s ease;
}

.ify-nav__item:hover,
.ify-nav__item.is-current {
    color: var(--ify-primary-strong);
    background: rgba(111, 124, 255, 0.1);
}

.ify-search {
    position: relative;
    display: flex;
    align-items: center;
    width: min(380px, 30vw);
    min-width: 260px;
    height: 52px;
    padding: 0 12px 0 44px;
    border: 1px solid var(--ify-line);
    border-radius: 999px;
    background: var(--ify-surface);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.ify-search__icon {
    position: absolute;
    left: 16px;
    color: var(--ify-text-muted);
}

.ify-search__input {
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    color: var(--ify-text);
    font-size: 14px;
}

.ify-search__input::placeholder {
    color: var(--ify-text-muted);
}

.ify-search__trend,
.ify-search__submit {
    flex: 0 0 auto;
}

.ify-search__trend {
    color: var(--ify-text-muted);
    text-decoration: none;
    margin-right: 10px;
}

.ify-search__submit {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--ify-primary) 0%, var(--ify-primary-strong) 100%);
    color: #fff;
    cursor: pointer;
}

.ify-search .mac_results {
    top: calc(100% + 10px);
    width: 100%;
    border: 1px solid var(--ify-line);
    border-radius: 18px;
    overflow: hidden;
    background: var(--ify-surface-strong);
    box-shadow: var(--ify-shadow-soft);
}

.ify-tools,
.ify-mobile__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ify-tool,
.ify-mobile__icon,
.ify-footer__tool,
.ify-drawer__mode {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--ify-line);
    border-radius: 999px;
    background: var(--ify-surface);
    color: var(--ify-text);
    text-decoration: none;
    cursor: pointer;
}

.ify-tool--ghost,
.ify-mobile__icon,
.ify-footer__tool {
    min-width: 42px;
    padding: 0 12px;
}

.ify-tool--link:hover,
.ify-tool--user:hover,
.ify-mobile__icon:hover,
.ify-footer__tool:hover,
.ify-drawer__mode:hover {
    color: var(--ify-primary-strong);
    border-color: rgba(111, 124, 255, 0.25);
}

.ify-user__avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.ify-mobile,
.ify-mobile-toggle,
.ify-drawer {
    display: none;
}

.ify-drawer {
    position: fixed;
    inset: 0;
    z-index: 999999999;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    isolation: isolate;
    overflow: hidden;
}

.ify-drawer.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.ify-drawer__mask {
    position: absolute;
    inset: 0;
    background: rgba(20, 17, 14, 0.42);
    opacity: 0;
    transition: opacity 0.24s ease;
}

.ify-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(88vw, 360px);
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    background: var(--ify-surface-strong);
    box-shadow: none;
    transform: translateX(102%);
    transition: transform 0.24s ease;
    overflow: hidden;
}

.ify-drawer.is-open .ify-drawer__mask {
    opacity: 1;
}

.ify-drawer.is-open .ify-drawer__panel {
    transform: translateX(0);
    box-shadow: -18px 0 36px rgba(33, 24, 17, 0.12);
}

.ify-drawer__head,
.ify-drawer__section {
    margin-bottom: 18px;
}

.ify-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ify-drawer__head button {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.ify-drawer__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
}

.ify-drawer__item,
.ify-drawer__pill {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--ify-text);
    background: rgba(111, 124, 255, 0.04);
}

.ify-drawer__item.is-current,
.ify-drawer__pill:hover {
    color: var(--ify-primary-strong);
    background: rgba(111, 124, 255, 0.1);
}

.ify-footer {
    margin-top: 48px;
    padding: 42px 0 20px;
    background:
        linear-gradient(180deg, rgba(246, 247, 251, 0.78) 0%, rgba(241, 245, 255, 0.94) 100%);
    border-top: 1px solid var(--ify-line);
}

html.theme-black .ify-footer {
    background: linear-gradient(180deg, rgba(31, 28, 26, 0.54) 0%, rgba(22, 20, 18, 0.94) 100%);
}

.ify-footer__shell {
    display: grid;
    grid-template-columns: 1.1fr 1fr auto;
    gap: 28px;
    align-items: start;
}

.ify-footer__brand {
    display: flex;
    gap: 18px;
    align-items: center;
}

.ify-footer__logo img {
    max-height: 34px;
    width: auto;
}

.ify-footer__brand strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.ify-footer__brand p,
.ify-footer__copy,
.ify-footer__copy p {
    color: var(--ify-text-muted);
    line-height: 1.75;
}

.ify-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-bottom: 16px;
}

.ify-footer__links a {
    color: var(--ify-text);
    text-decoration: none;
}

.ify-footer__tools {
    display: flex;
    gap: 10px;
}

.pannel {
    border: 1px solid var(--ify-line);
    border-radius: var(--ify-radius);
    background: var(--ify-surface);
    box-shadow: var(--ify-shadow-soft);
    overflow: hidden;
}

.ify-home,
.ify-page-shell {
    width: var(--ify-shell);
    margin: 0 auto;
    padding: 28px 0 0;
}

.ify-home-hero__shell,
.ify-page-content--two-col,
.ify-home-channel {
    display: grid;
    gap: 24px;
}

.ify-home-hero__shell {
    grid-template-columns: 240px 1.6fr 360px;
    align-items: stretch;
}

.ify-home-hero__nav,
.ify-home-hero__side,
.ify-home-hero__feature,
.ify-page-main,
.ify-page-side {
    min-width: 0;
}

.ify-home-hero__nav,
.ify-home-hero__side .ify-home-panel,
.ify-home-hero__feature,
.ify-page-hero,
.ify-panel,
.ify-rank-card,
.ify-home-strip,
.ify-actor-grid li {
    border: 1px solid var(--ify-line);
    border-radius: var(--ify-radius);
    background: var(--ify-surface);
    box-shadow: var(--ify-shadow-soft);
}

.ify-home-hero__nav {
    padding: 22px;
}

.ify-home-hero__nav strong,
.ify-page-hero__copy h1,
.ify-home-panel__head h2,
.ify-home-panel__head h3,
.ify-home-section__head h2,
.ify-panel__head h2,
.ify-panel__head h3,
.ify-rank-card__head h2 {
    color: var(--ify-text);
}

.ify-home-hero__nav-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.ify-home-hero__nav-list a,
.ify-home-strip__item,
.ify-home-rank-list a,
.ify-home-side-list a,
.ify-rank-list a,
.ify-actor-grid a {
    text-decoration: none;
    color: var(--ify-text);
}

.ify-home-hero__nav-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(111, 124, 255, 0.05);
}

.ify-home-hero__nav-list a em,
.ify-home-strip__item span,
.ify-home-side-list em,
.ify-home-rank-list em,
.ify-rank-list em,
.ify-page-hero__copy p,
.ify-footer__brand p,
.ify-empty-state p {
    color: var(--ify-text-muted);
}

.ify-home-hero__feature {
    position: relative;
    overflow: hidden;
}

.ify-home-hero__slider,
.ify-home-hero__slide {
    height: 100%;
}

.ify-home-hero__slide {
    position: relative;
    min-height: 520px;
}

.ify-home-hero__image,
.ify-home-hero__image img {
    display: block;
    width: 100%;
    height: 100%;
}

.ify-home-hero__image {
    position: absolute;
    inset: 0;
}

.ify-home-hero__image img {
    object-fit: cover;
}

.ify-home-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16, 13, 11, 0.8) 0%, rgba(16, 13, 11, 0.45) 42%, rgba(16, 13, 11, 0.12) 100%);
}

.ify-home-hero__copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 16px;
    height: 100%;
    padding: 38px;
    color: #fff;
}

.ify-home-hero__copy h1 {
    margin: 0;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.08;
    color: #fff;
}

.ify-home-hero__copy p {
    max-width: 36em;
    margin: 0;
    color: rgba(255, 245, 234, 0.82);
    line-height: 1.8;
}

.ify-home-hero__kicker,
.ify-home-section__head span,
.ify-page-hero__copy span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 244, 232, 0.92);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ify-home-hero__meta,
.ify-home-hero__actions,
.ify-home-panel__head,
.ify-home-section__head,
.ify-panel__head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.ify-home-hero__meta span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.ify-home-hero__meta .is-score {
    background: linear-gradient(135deg, var(--ify-primary) 0%, var(--ify-primary-strong) 100%);
}

.ify-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ify-primary) 0%, var(--ify-primary-strong) 100%);
    color: #fff;
    text-decoration: none;
}

.ify-home-btn--ghost {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ify-home-panel,
.ify-panel {
    padding: 20px 22px 22px;
}

.ify-home-panel__head,
.ify-home-section__head,
.ify-panel__head {
    justify-content: space-between;
    margin-bottom: 18px;
}

.ify-home-panel__head a,
.ify-home-section__head a,
.ify-panel__head a {
    color: var(--ify-primary-strong);
    text-decoration: none;
}

.ify-home-side-list,
.ify-home-rank-list,
.ify-rank-list,
.ify-search-list,
.ify-card-grid,
.ify-actor-grid {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ify-home-side-list,
.ify-home-rank-list,
.ify-rank-list {
    display: grid;
    gap: 10px;
}

.ify-home-side-list li,
.ify-home-rank-list li,
.ify-rank-list li {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ify-line);
}

.ify-home-side-list li:last-child,
.ify-home-rank-list li:last-child,
.ify-rank-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.ify-home-side-list a,
.ify-home-rank-list a,
.ify-rank-list a {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    gap: 12px;
    align-items: center;
}

.ify-home-side-list__rank,
.ify-home-rank-list span,
.ify-rank-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: rgba(111, 124, 255, 0.1);
    color: var(--ify-primary-strong);
}

.ify-home-quick {
    margin: 24px 0 0;
}

.ify-home-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
}

.ify-home-strip__item {
    padding: 16px;
    border-radius: 18px;
    background: rgba(111, 124, 255, 0.05);
}

.ify-home-strip__item strong {
    display: block;
    margin-bottom: 8px;
}

.ify-home-section {
    margin-top: 26px;
}

.ify-card-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.ify-card-grid--dense {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ify-home-channel {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
}

.ify-actor-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 14px;
}

.ify-actor-grid li {
    padding: 16px 12px;
    text-align: center;
}

.ify-actor-grid__avatar {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 12px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
}

.ify-page-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding: 28px 30px;
    margin-bottom: 24px;
}

.ify-page-hero__copy h1 {
    margin: 14px 0 8px;
    font-size: clamp(28px, 3vw, 42px);
}

.ify-page-hero__meta strong {
    display: block;
    font-size: 36px;
    line-height: 1;
    color: var(--ify-primary-strong);
}

.ify-page-content--two-col {
    grid-template-columns: minmax(0, 1fr) 320px;
}

.ify-kicker,
.ify-detail-heading__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(111, 124, 255, 0.08);
    color: var(--ify-primary-strong);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ify-panel__subcopy,
.ify-detail-heading__subcopy {
    margin-top: 10px;
    color: var(--ify-text-muted);
    line-height: 1.75;
}

.ify-catalog-page,
.ify-channel-page,
.ify-detail-shell,
.ify-play-shell {
    padding-bottom: 36px;
}

.ify-page-hero--catalog,
.ify-page-hero--channel {
    margin-bottom: 22px;
}

.ify-panel--filter,
.ify-panel--results,
.ify-panel--detail-hero,
.ify-panel--detail-copy,
.ify-panel--playlist,
.ify-panel--plot,
.ify-panel--guess,
.ify-panel--related,
.ify-panel--comment,
.ify-panel--play-detail,
.ify-panel--play-side,
.ify-panel--actor,
.ify-panel--sidecard,
.ify-panel--channel-overview,
.ify-panel--embed {
    margin-bottom: 22px;
}

.ify-panel--filter .vod_all {
    border: 0 !important;
    box-shadow: none !important;
    padding-bottom: 0;
}

.ify-panel__head--catalog {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.ify-catalog-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 4px 24px 18px;
    padding: 16px 18px;
    border: 1px solid var(--ify-line);
    border-radius: 18px;
    background: rgba(111, 124, 255, 0.035);
}

.ify-catalog-summary__title {
    flex: 0 0 auto;
    color: var(--ify-text-muted);
}

.ify-catalog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ify-catalog-tag {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--ify-line);
    background: var(--ify-surface);
    color: var(--ify-text);
}

.ify-catalog-grid {
    width: auto !important;
    margin: 0;
    padding: 0 24px 8px;
}

.ify-channel-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
}

.ify-channel-overview__main > body,
.ify-panel--embed > body {
    background: transparent !important;
}

.ify-rank-list {
    display: grid;
    gap: 10px;
}

.ify-rank-list li {
    list-style: none;
}

.ify-rank-list a {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--ify-line);
    color: var(--ify-text);
    text-decoration: none;
}

.ify-rank-list li:last-child a {
    border-bottom: 0;
}

.ify-rank-list span,
.ify-rank-list em,
.ify-side-links a:hover {
    color: var(--ify-primary-strong);
}

.ify-detail-hero-shell {
    margin-bottom: 24px;
}

.ify-detail-hero-wrap .detail_list {
    padding: 24px;
}

.ify-detail-content {
    align-items: start;
}

.ify-detail-side {
    display: grid;
    gap: 22px;
}

.ify-side-meta {
    display: grid;
    gap: 12px;
    padding: 0 24px 24px;
}

.ify-side-meta li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ify-line);
}

.ify-side-meta li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.ify-side-meta span {
    color: var(--ify-text-muted);
}

.ify-side-meta strong {
    color: var(--ify-text);
    text-align: right;
}

.ify-side-links {
    display: grid;
    gap: 12px;
    padding: 0 24px 24px;
}

.ify-side-links a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--ify-line);
    border-radius: 14px;
    color: var(--ify-text);
    text-decoration: none;
    background: rgba(111, 124, 255, 0.035);
}

.ify-play-shell__container,
.ify-play-shell__content {
    padding-top: 0 !important;
}

.ify-play-stage__headline {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.ify-play-stage__headline h1 {
    margin: 10px 0 6px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.1;
    color: var(--ify-text);
}

.ify-play-stage__headline p,
.ify-play-stage__meta span {
    color: var(--ify-text-muted);
}

.ify-play-stage__meta {
    display: grid;
    justify-items: end;
    gap: 6px;
}

.ify-play-stage__meta strong {
    font-size: 34px;
    color: var(--ify-primary-strong);
}

.ify-play-stage,
.ify-play-lower {
    align-items: start;
}

.ify-play-actions {
    margin-top: 16px;
}

.ify-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.ify-toolbar a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--ify-line);
    border-radius: 999px;
    text-decoration: none;
    color: var(--ify-text);
    background: rgba(111, 124, 255, 0.04);
}

.ify-toolbar a.is-current {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--ify-primary) 0%, var(--ify-primary-strong) 100%);
}

.ify-search-list {
    display: grid;
    gap: 14px;
}

.ify-empty-state {
    padding: 28px 4px 4px;
}

.ify-empty-state strong {
    display: block;
    margin-bottom: 8px;
}

.ify-empty-state a {
    color: var(--ify-primary-strong);
    text-decoration: none;
}

.ify-rank-panel {
    padding: 20px 22px 22px;
}

.ify-rank-tabs input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ify-rank-tabs__nav {
    display: inline-grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 22px;
    padding: 8px;
    border: 1px solid var(--ify-line);
    border-radius: 999px;
    background: rgba(111, 124, 255, 0.04);
}

.ify-rank-tabs__nav label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    cursor: pointer;
}

#ify-tab-week:checked ~ .ify-rank-tabs__nav label[for="ify-tab-week"],
#ify-tab-month:checked ~ .ify-rank-tabs__nav label[for="ify-tab-month"],
#ify-tab-all:checked ~ .ify-rank-tabs__nav label[for="ify-tab-all"] {
    background: linear-gradient(135deg, var(--ify-primary) 0%, var(--ify-primary-strong) 100%);
    color: #fff;
}

.ify-rank-tabs__panels {
    position: relative;
}

.ify-rank-tabs__panel {
    display: none;
}

#ify-tab-week:checked ~ .ify-rank-tabs__panels .ify-rank-tabs__panel:nth-child(1),
#ify-tab-month:checked ~ .ify-rank-tabs__panels .ify-rank-tabs__panel:nth-child(2),
#ify-tab-all:checked ~ .ify-rank-tabs__panels .ify-rank-tabs__panel:nth-child(3) {
    display: block;
}

.ify-rank-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ify-rank-card {
    padding: 20px 20px 18px;
}

.ify-rank-card__head {
    margin-bottom: 16px;
}

.ify-rank-page .ify-rank-list a {
    grid-template-columns: 28px minmax(0, 1fr) 54px;
    gap: 12px;
    align-items: center;
    min-height: 72px;
    padding: 10px 0;
}

.ify-rank-page .ify-rank-list__index {
    align-self: center;
}

.ify-rank-page .ify-rank-list__content {
    display: block;
    min-width: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    color: inherit;
}

.ify-rank-page .ify-rank-list__content strong,
.ify-rank-page .ify-rank-list__content em {
    display: block;
}

.ify-rank-page .ify-rank-list__content strong {
    overflow: hidden;
    color: var(--ify-text);
    font-size: 14px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ify-rank-page .ify-rank-list__content em {
    margin-top: 5px;
    color: var(--ify-text-muted);
    font-size: 12px;
    line-height: 1.2;
    font-style: normal;
}

.ify-rank-page .ify-rank-list__thumb {
    display: block;
    width: 54px;
    height: auto;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    background-color: rgba(111, 124, 255, 0.08);
    background-position: center;
    background-size: cover;
}

.pannel_head {
    padding: 22px 26px 0;
}

.pannel_head .title,
.box .title h2,
.box .title h3 {
    color: var(--ify-text);
}

.vodlist_item,
.searchlist_item,
.topiclist_item,
.actor_vlist li,
.ranklist_r li,
.artlist_item {
    transition: transform 0.22s ease;
}

.vodlist_item:hover,
.searchlist_item:hover,
.topiclist_item:hover,
.actor_vlist li:hover,
.ranklist_r li:hover,
.artlist_item:hover {
    transform: translateY(-2px);
}

.vodlist_thumb,
.zbvodlist_thumb,
.searchlist_img .vodlist_thumb,
.actor_pic,
.ranklist_thumb {
    border-radius: 18px !important;
    overflow: hidden;
}

.vodlist_thumb,
.zbvodlist_thumb,
.balist_thumb,
.wbalist_thumb,
.ranklist_thumb,
.play_vlist_thumb,
.zbo .play_vlist_thumb.zboad,
.ify-poster-card__poster,
.ify-search-card__poster,
.ify-rank-list__thumb {
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.vodlist_thumb.ify-poster-fit--wide,
.zbvodlist_thumb.ify-poster-fit--wide,
.balist_thumb.ify-poster-fit--wide,
.wbalist_thumb.ify-poster-fit--wide,
.ranklist_thumb.ify-poster-fit--wide,
.play_vlist_thumb.ify-poster-fit--wide,
.zbo .play_vlist_thumb.zboad.ify-poster-fit--wide,
.ify-poster-card__poster.ify-poster-fit--wide,
.ify-search-card__poster.ify-poster-fit--wide,
.ify-rank-list__thumb.ify-poster-fit--wide {
    background-size: auto 106% !important;
}

.vodlist_thumb.ify-poster-fit--tall,
.zbvodlist_thumb.ify-poster-fit--tall,
.balist_thumb.ify-poster-fit--tall,
.wbalist_thumb.ify-poster-fit--tall,
.ranklist_thumb.ify-poster-fit--tall,
.play_vlist_thumb.ify-poster-fit--tall,
.zbo .play_vlist_thumb.zboad.ify-poster-fit--tall,
.ify-poster-card__poster.ify-poster-fit--tall,
.ify-search-card__poster.ify-poster-fit--tall,
.ify-rank-list__thumb.ify-poster-fit--tall {
    background-size: 106% auto !important;
}

.vodlist_title a,
.searchlist_titbox a,
.ranklist_r a,
.part_rows a,
.top_nav a,
.foot a,
.ify-footer a {
    color: var(--ify-text);
}

.search_box,
.detail_list,
.play_box,
.play_pan,
#bofy,
#actor_vbox,
#pinglun,
.vod_all,
.rankpage,
.list_info,
.third-party-play-panel {
    border: 1px solid var(--ify-line) !important;
    border-radius: var(--ify-radius) !important;
    background: var(--ify-surface) !important;
    box-shadow: var(--ify-shadow-soft);
}

.search_box,
.play_pan,
#bofy,
#actor_vbox,
#pinglun,
.rankpage,
.third-party-play-panel {
    padding-bottom: 18px;
}

.search_box .pannel_head,
.play_pan .pannel_head,
#bofy .pannel_head,
#actor_vbox .pannel_head,
#pinglun .pannel_head,
.rankpage .pannel_head,
.third-party-play-panel .pannel_head {
    padding: 22px 24px 0 !important;
}

.detail-wrap.ify-detail-page #bofy.ify-panel--playlist > .pannel_head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px !important;
    padding: 0 0 14px !important;
}

.detail-wrap.ify-detail-page #bofy.ify-panel--playlist > .pannel_head .title {
    order: 1;
}

.detail-wrap.ify-detail-page #bofy.ify-panel--playlist > .pannel_head .pull_right {
    order: 2;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    float: none !important;
}

.detail-wrap.ify-detail-page #bofy .play_source_tab.clearfix::before,
.detail-wrap.ify-detail-page #bofy .play_source_tab.clearfix::after,
.detail-wrap.ify-detail-page #bofy .content_playlist.clearfix::before,
.detail-wrap.ify-detail-page #bofy .content_playlist.clearfix::after {
    display: none !important;
    content: none !important;
}

.wrapper_fl,
.screen_list,
.title_nav,
.content_playlist,
.tabs .content {
    background: transparent !important;
}

.screen_list li a,
.title_nav li a,
.title_nav li label {
    border-radius: 999px;
}

.screen_list li.hl a,
.screen_list li.hl_fl a,
.tab-play.tplconfig-01 a,
.content_playlist li.active a,
.title_nav li.tplconfig-01 a,
.title_nav li.tplconfig-02 a {
    background: linear-gradient(135deg, var(--ify-primary) 0%, var(--ify-primary-strong) 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
}

.list_type_title {
    padding: 18px 20px;
    border-bottom: 1px solid var(--ify-line);
}

.list_type_title .sx_title2,
.list_type_title .sx_txt li,
.list_type_title span a {
    color: var(--ify-text);
}

.detail_list_box,
.play_boxbg,
.vod_all,
.search_box {
    background: transparent !important;
}

.detail_list {
    padding: 24px;
}

.content_box {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 260px;
    gap: 24px;
}

.content_thumb .vodlist_thumb {
    display: block;
    padding-top: 142%;
}

.content_detail.content_top,
.player_detail.detail,
.play_box_right {
    width: auto !important;
}

.content_progress {
    width: auto !important;
    margin: 0 !important;
}

.content_detail .title,
.play_namebox .title,
.video_title .title {
    font-size: clamp(28px, 3vw, 42px) !important;
    line-height: 1.15;
}

.play_box_right,
.play_infobox,
.play_vlist.cblock,
.player_video,
.play_but,
.play_content {
    border-radius: 20px;
}

.play_box.play_video,
.play_box {
    display: grid;
    gap: 22px;
}

.play_box.play_video {
    grid-template-columns: minmax(0, 1fr) 320px;
}

.ify-play-stage > .left_row,
.ify-play-lower > .left_row,
.ify-detail-content > .ify-page-main {
    min-width: 0;
}

body.ify-play-page .ify-play-stage,
body.ify-play-page .ify-play-lower {
    width: 100%;
    display: grid;
    align-items: start;
    gap: 22px;
}

body.ify-play-page .ify-play-stage > .left_row,
body.ify-play-page .ify-play-stage > .ify-play-side,
body.ify-play-page .ify-play-lower > .left_row,
body.ify-play-page .ify-play-shell__content > .left_row {
    float: none !important;
    width: auto !important;
    min-width: 0;
    max-width: none;
}

body.ify-play-page .player_video,
body.ify-play-page .ify-play-actions,
body.ify-play-page .play_box_right,
body.ify-play-page .ify-panel--play-detail {
    width: 100% !important;
}

body.ify-play-page .player_video.embed-responsive {
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 0 !important;
}

body.ify-play-page .player_video.player_video_thirdparty {
    height: auto !important;
    min-height: clamp(360px, 52vw, 640px) !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
    background: #0b1220 !important;
}

body.ify-play-page .player_video.player_video_thirdparty .third-party-play-hero {
    min-height: clamp(360px, 52vw, 640px);
}

body.ify-play-page .player_video .VideoPlayer.embed-responsive {
    height: 0 !important;
    padding-bottom: 56.25% !important;
}

html.ify-play-root,
body.ify-play-page,
body.ify-play-page #play_page,
body.ify-play-page .ify-play-shell {
    background: var(--ify-bg) !important;
    background-image: none !important;
    overflow-x: clip;
}

body.ify-play-page .ify-play-shell__container,
body.ify-play-page .ify-play-shell__content,
body.ify-play-page .ify-play-stage,
body.ify-play-page .ify-play-lower {
    min-width: 0;
    max-width: 100%;
}

body.ify-play-page #play_page .hot_banner {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    background-color: transparent !important;
}

@media screen and (min-width: 821px) {
    body.ify-play-page .ify-play-stage,
    body.ify-play-page .ify-play-lower {
        grid-template-columns: minmax(0, 1fr) clamp(300px, 24vw, 340px);
    }

    body.ify-play-page .ify-play-stage {
        align-items: start;
    }

    body.ify-play-page .ify-play-stage > .left_row,
    body.ify-play-page .ify-play-stage > .ify-play-side,
    body.ify-play-page .ify-play-lower > .left_row {
        justify-self: stretch;
    }

    body.ify-play-page .ify-play-stage > .left_row,
    body.ify-play-page .ify-play-lower > .left_row {
        grid-column: 1;
    }

    body.ify-play-page .ify-play-stage > .ify-play-side {
        grid-column: 2;
        align-self: start;
        height: var(--ify-play-side-height, auto);
        max-height: var(--ify-play-side-height, none);
    }

    body.ify-play-page .ify-play-shell__content > .left_row {
        width: 100% !important;
    }
}

body.ify-play-page .ify-play-lower {
    grid-template-columns: 1fr !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body.ify-play-page .ify-play-lower > .left_row,
body.ify-play-page .ify-panel--play-detail {
    width: 100% !important;
}

body.ify-play-page .play_but {
    overflow: hidden;
    background: #202026 !important;
    scrollbar-width: none;
}

body.ify-play-page .play_but ul {
    margin: 0;
}

body.ify-play-page .play_but::-webkit-scrollbar {
    display: none;
}

body.ify-play-page .play_but ul li {
    display: flex;
    align-items: center;
    height: 50px;
}

body.ify-play-page .play_but a,
body.ify-play-page .play_but .play_collec {
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
    height: 50px;
    line-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.62) !important;
    white-space: nowrap;
}

body.ify-play-page .play_but .play_share {
    flex: 1 1 0;
    width: auto !important;
}

body.ify-play-page .play_but .play_share > a {
    width: auto !important;
}

body.ify-play-page .wx_but a,
body.ify-play-page .wx_but a.btn_wxgzh {
    border: 0 !important;
    background: linear-gradient(135deg, var(--ify-primary) 0%, var(--ify-primary-strong) 100%) !important;
    box-shadow: 0 10px 22px rgba(79, 70, 229, 0.18) !important;
    color: #fff !important;
}

body.ify-play-page .play_namebox .fenlei {
    border-color: rgba(111, 124, 255, 0.45) !important;
    background: rgba(111, 124, 255, 0.12) !important;
    color: #c7cbff !important;
}

body.ify-play-page .third-party-play-hero {
    --third-party-hero-bg-start: #06080d;
    --third-party-hero-bg-end: #111827;
    --third-party-hero-text: #ffffff;
    --third-party-hero-sub: #a8b3c7;
    --third-party-hero-panel: rgba(17, 24, 39, 0.78);
    --third-party-hero-border: rgba(255, 255, 255, 0.1);
    --third-party-hero-button-start: var(--ify-primary);
    --third-party-hero-button-end: var(--ify-primary-strong);
    --third-party-hero-shadow: rgba(79, 70, 229, 0.34);
    position: relative;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 18px;
    color: var(--third-party-hero-text);
    background:
        linear-gradient(145deg, rgba(3, 6, 12, 0.9) 0%, rgba(10, 16, 28, 0.88) 45%, rgba(18, 28, 45, 0.82) 100%),
        linear-gradient(180deg, var(--third-party-hero-bg-start) 0%, var(--third-party-hero-bg-end) 100%);
}

body.ify-play-page .third-party-play-hero::before {
    content: "";
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(circle at 24% 50%, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0) 28%),
        radial-gradient(circle at 78% 28%, rgba(111, 124, 255, 0.16) 0, rgba(111, 124, 255, 0) 22%),
        radial-gradient(circle at 84% 74%, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0) 18%);
    pointer-events: none;
}

body.ify-play-page .third-party-play-hero__poster {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    filter: blur(28px) saturate(0.72);
    opacity: 0.18;
    transform: scale(1.12);
}

body.ify-play-page .third-party-play-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 12, 0.22) 0%, rgba(2, 6, 12, 0.7) 100%);
}

body.ify-play-page .third-party-play-hero__card {
    position: relative;
    z-index: 1;
    width: min(100%, 760px);
    max-height: 100%;
    box-sizing: border-box;
    overflow: auto;
    margin: 0;
    padding: 26px 24px 22px;
    border: 1px solid var(--third-party-hero-border);
    border-radius: 24px;
    background: var(--third-party-hero-panel);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.3);
    text-align: center;
    backdrop-filter: blur(10px);
    scrollbar-width: none;
}

body.ify-play-page .third-party-play-hero__card::-webkit-scrollbar {
    display: none;
}

body.ify-play-page .third-party-play-hero__badge {
    position: relative;
    width: 84px;
    height: 84px;
    margin: 0 auto 16px;
    border: 1px solid rgba(147, 197, 253, 0.35);
    border-radius: 999px;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.18) 0%, rgba(111, 124, 255, 0.12) 35%, rgba(15, 23, 42, 0.82) 100%);
    box-shadow: 0 0 0 6px rgba(111, 124, 255, 0.1);
}

body.ify-play-page .third-party-play-hero__badge::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 22px solid #ffffff;
    transform: translate(-38%, -50%);
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.25));
}

body.ify-play-page .third-party-play-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(147, 197, 253, 0.18);
    border-radius: 999px;
    background: rgba(111, 124, 255, 0.12);
    color: #dbeafe;
    font-size: 12px;
}

body.ify-play-page .third-party-play-hero__title {
    margin: 14px 0 10px;
    color: var(--third-party-hero-text);
    font-size: 26px;
    line-height: 1.22;
    font-weight: 700;
}

body.ify-play-page .third-party-play-hero__title span {
    color: #c7cbff;
}

body.ify-play-page .third-party-play-hero__desc {
    max-width: 560px;
    margin: 0 auto;
    color: var(--third-party-hero-sub);
    font-size: 15px;
    line-height: 1.6;
}

body.ify-play-page .third-party-play-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 14px auto 0;
    color: #dbeafe;
    font-size: 13px;
}

body.ify-play-page .third-party-play-hero__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.ify-play-page .third-party-play-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

body.ify-play-page .third-party-play-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--third-party-hero-button-start) 0%, var(--third-party-hero-button-end) 100%);
    box-shadow: 0 18px 34px var(--third-party-hero-shadow);
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

body.ify-play-page .third-party-play-hero__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 42px var(--third-party-hero-shadow);
}

body.ify-play-page .third-party-play-hero__hint {
    margin: 12px 0 0;
    color: var(--third-party-hero-sub);
    font-size: 13px;
    line-height: 1.45;
}

body.ify-play-page .third-party-play-hero[data-brand="qq"] {
    --third-party-hero-button-start: #2f78ff;
    --third-party-hero-button-end: #265fe8;
    --third-party-hero-shadow: rgba(47, 120, 255, 0.34);
}

body.ify-play-page .third-party-play-hero[data-brand="youku"] {
    --third-party-hero-button-start: #00a6ff;
    --third-party-hero-button-end: #0076ff;
    --third-party-hero-shadow: rgba(0, 118, 255, 0.34);
}

body.ify-play-page .third-party-play-hero[data-brand="iqiyi"] {
    --third-party-hero-button-start: #46c948;
    --third-party-hero-button-end: #2aa43d;
    --third-party-hero-shadow: rgba(42, 164, 61, 0.34);
}

body.ify-play-page .third-party-play-hero[data-brand="bilibili"] {
    --third-party-hero-button-start: #39a8ff;
    --third-party-hero-button-end: #2177ff;
    --third-party-hero-shadow: rgba(33, 119, 255, 0.34);
}

body.ify-play-page .play_box_right {
    height: var(--ify-play-side-height, auto) !important;
    min-height: 0 !important;
    max-height: var(--ify-play-side-height, none) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: var(--ify-surface-strong) !important;
    scrollbar-width: none;
}

body.ify-play-page .play_box_right::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

body.ify-play-page .play_box_right::-webkit-scrollbar-track,
body.ify-play-page .play_box_right::-webkit-scrollbar-thumb {
    background: transparent !important;
}

body.ify-play-page .play_namebox {
    border-bottom-color: rgba(111, 124, 255, 0.18) !important;
    background: linear-gradient(135deg, var(--ify-primary) 0%, var(--ify-primary-strong) 100%) !important;
}

body.ify-play-page .play_namebox .title {
    font-size: 24px !important;
    line-height: 1.2 !important;
}

body.ify-play-page .play_vlist_thumb.vnow::after {
    border-color: var(--ify-primary) !important;
}

body.ify-play-page .vnow .play_vlist_title,
body.ify-play-page .player .text_score,
body.ify-play-page .cblock .text_score,
body.ify-play-page .ify-play-comment-count {
    color: var(--ify-primary-strong) !important;
}

body.ify-play-page .player .title,
body.ify-play-page .video_title .title {
    color: var(--ify-text) !important;
}

body.ify-play-page .play_text .data a {
    background: rgba(111, 124, 255, 0.07) !important;
    color: var(--ify-text-muted) !important;
}

body.ify-play-page .play_now a,
body.ify-play-page .player .play_now span i,
body.ify-play-page .player_infotip {
    color: var(--ify-text-muted) !important;
}

body.ify-play-page #bofy,
body.ify-play-page .ify-panel--related {
    overflow: hidden;
}

body.ify-play-page #pinglun,
body.ify-play-page #pinglun .mac_comment,
body.ify-play-page #pinglun .comm_list_box {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

body.ify-play-page #bofy {
    padding-top: 8px !important;
}

body.ify-play-page #bofy .pannel_head {
    padding-top: 0 !important;
}

body.ify-play-page #bofy .tabs,
body.ify-play-page #bofy .content.show,
body.ify-play-page #bofy .playlist_full {
    width: 100%;
}

body.ify-play-page #bofy .playlist.tabs .content {
    margin-top: 8px !important;
}

body.ify-play-page #bofy .playlist_notfull,
body.ify-play-page #bofy .wrapper_fl,
body.ify-play-page #bofy .scroller {
    width: 100%;
    height: auto !important;
}

body.ify-play-page #bofy .playlist_notfull .wrapper_fl {
    max-height: none;
    overflow: hidden !important;
}

body.ify-play-page #bofy .playlist_full {
    padding-top: 12px;
}

body.ify-play-page #bofy .content_playlist {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    list-style: none;
}

body.ify-play-page #bofy .title_nav,
body.ify-play-page #bofy .content_playlist {
    scrollbar-width: none;
}

body.ify-play-page #bofy .title_nav::-webkit-scrollbar,
body.ify-play-page #bofy .content_playlist::-webkit-scrollbar {
    display: none;
}

body.ify-play-page #bofy .content_playlist.clearfix::before,
body.ify-play-page #bofy .content_playlist.clearfix::after {
    display: none !important;
    content: none !important;
}

body.ify-play-page #bofy .content_playlist li {
    flex: 0 0 auto;
    float: none !important;
    width: auto !important;
    padding: 0 !important;
    list-style: none;
}

body.ify-play-page #bofy .content_playlist li a,
body.ify-play-page #bofy .listshow span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    min-height: 30px;
    height: 30px !important;
    line-height: 1;
    padding: 0 14px;
    border-radius: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.ify-play-page #bofy .listshow {
    display: inline-flex;
    margin-top: 12px;
}

body.ify-play-page .ify-panel--related .vodlist {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px 16px;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 2px 2px !important;
    list-style: none;
}

body.ify-play-page .ify-panel--related .ify-poster-card {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

body.ify-play-page .ify-panel--related .ify-poster-card__poster {
    height: auto !important;
    padding-top: 142% !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.play_but ul li,
.play_infobox,
.player_detail.detail,
.play_content {
    background: transparent !important;
}

.ify-detail-scorecard {
    align-self: start;
    padding: 18px;
    border: 1px solid var(--ify-line);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(111, 124, 255, 0.08) 0%, rgba(111, 124, 255, 0.02) 100%);
}

.ify-play-detail__meta {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--ify-line);
}

.ify-play-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ify-play-chip-list span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--ify-line);
    background: rgba(111, 124, 255, 0.035);
    color: var(--ify-text);
}

.ify-play-detail__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ify-play-detail__stats div {
    padding: 14px 16px;
    border: 1px solid var(--ify-line);
    border-radius: 18px;
    background: var(--ify-surface-strong);
}

.ify-play-detail__stats span {
    display: block;
    margin-bottom: 8px;
    color: var(--ify-text-muted);
    font-size: 13px;
}

.ify-play-detail__stats strong {
    color: var(--ify-text);
}

.ify-search-list .searchlist_item,
.vodlist .searchlist_item {
    padding: 16px;
    border: 1px solid var(--ify-line);
    background: rgba(111, 124, 255, 0.03);
}

.searchlist_item {
    display: grid !important;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 18px;
}

.searchlist_img {
    width: auto !important;
}

.searchlist_img .vodlist_thumb,
.searchlist_img .zbvodlist_thumb {
    display: block;
    padding-top: 138%;
}

.ranklist_r,
.part_rows,
.content_playlist {
    display: grid;
    gap: 10px;
}

.ranklist_r li,
.part_rows li {
    padding: 0 !important;
    border-bottom: 1px solid var(--ify-line);
}

.ranklist_r li:last-child,
.part_rows li:last-child {
    border-bottom: 0;
}

.ranklist_r a,
.part_rows a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
}

.part_nums,
.ranklist_r .part_nums,
.info_right {
    color: var(--ify-primary-strong);
}

.content_playlist li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--ify-line);
    background: rgba(111, 124, 255, 0.04);
}

.vodlist_sub,
.text_muted,
.part_rows .renqi,
.searchlist_titbox p,
.play_vlist_now,
.content_detail .data,
.content_detail .desc,
.player_infotip {
    color: var(--ify-text-muted) !important;
}

.pic_text,
.vod_vip,
.serial,
.tab-play a,
.content_playlist li a,
.seebtn a,
.playbtn .btn,
.btn_primary,
.sort_btn,
.rank-more-href {
    border-radius: 14px;
}

.playbtn .btn,
.btn_primary,
.seebtn a {
    background: linear-gradient(135deg, var(--ify-primary) 0%, var(--ify-primary-strong) 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.wrapper_fl.wrapper_tm,
.screen_list,
.title_nav,
.content_playlist {
    border-color: var(--ify-line) !important;
}

.mac_pop,
.mac_login,
.dropdown,
.share-drop-wrap .dropdown {
    border-radius: 20px !important;
}

.share-drop-wrap {
    position: absolute !important;
    top: auto !important;
    right: auto !important;
    bottom: calc(100% + 8px) !important;
    left: 50% !important;
    width: max-content !important;
    height: auto !important;
    max-width: min(92vw, 520px);
    z-index: 9999 !important;
    display: none;
    padding: 0;
    box-sizing: border-box;
    background: transparent;
    transform: translateX(-50%);
}

.share-drop-wrap[style*="display: block"] {
    display: block !important;
}

.detail-share-shell:hover .share-drop-wrap,
.detail-share-shell .share-drop-wrap[style*="display: block"] {
    display: block !important;
}

.detail-share-shell:hover .share-drop-wrap .dropdown,
.detail-share-shell .share-drop-wrap[style*="display: block"] .dropdown {
    display: block !important;
}

.share-drop-wrap .dropdown {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: min(100%, 520px);
    max-width: 520px;
    padding: 12px 20px 16px;
    box-sizing: border-box;
}

.share-drop-wrap .bds_share_title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.share-drop-wrap .bdsharebuttonbox {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
    width: 100%;
    margin-bottom: 12px;
}

.share-drop-wrap .share-channel {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 62px;
    text-align: center;
}

.share-drop-wrap .bdsharebuttonbox a {
    display: block !important;
    float: none !important;
    flex: 0 0 64px;
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    text-indent: -9999px !important;
    line-height: 64px !important;
    font-size: 0 !important;
    background-image: url(../img/share.png) !important;
    background-size: 64px 384px !important;
    background-repeat: no-repeat !important;
}

.share-drop-wrap a.bds_weixin {
    background-position: 0 0 !important;
}

.share-drop-wrap a.bds_sqq {
    background-position: 0 -64px !important;
}

.share-drop-wrap a.bds_tsina {
    background-position: 0 -128px !important;
}

.share-drop-wrap a.bds_qzone {
    background-position: 0 -192px !important;
}

.share-drop-wrap a.bds_more {
    background-position: 0 -320px !important;
}

.share-drop-wrap .share-c {
    margin-top: 8px;
    color: #4b5563;
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
}

.share-drop-wrap .share_tips,
.share-drop-wrap .share_link,
.share-drop-wrap .copy_btn {
    display: block;
}

.share-drop-wrap .share_tips {
    margin-bottom: 6px;
    padding-bottom: 0 !important;
    line-height: 18px;
}

.share-drop-wrap .share_link {
    padding: 5px 8px !important;
    line-height: 18px !important;
    word-break: break-all;
}

.share-drop-wrap .copy_btn {
    width: fit-content;
    min-width: 138px;
    margin: 10px auto 0;
    text-align: center;
}

.share-drop-wrap .close-img {
    z-index: 2;
}

.mac_results .hot_keys li,
.mac_results .hot_keys a {
    color: var(--ify-text);
}

.tplconfig_history_bg,
.hl_content_box {
    border-radius: 22px !important;
    background: var(--ify-surface-strong) !important;
}

@media screen and (max-width: 820px) {
    :root {
        --ify-shell: calc(100vw - 28px);
    }

    body.ify-play-page .player_video.player_video_thirdparty,
    body.ify-play-page .player_video.player_video_thirdparty .third-party-play-hero {
        min-height: 340px !important;
    }

    body.ify-play-page .third-party-play-hero {
        padding: 12px;
    }

    body.ify-play-page .third-party-play-hero__card {
        padding: 18px 16px 16px;
        border-radius: 18px;
    }

    body.ify-play-page .third-party-play-hero__badge {
        width: 68px;
        height: 68px;
        margin-bottom: 12px;
    }

    .share-drop-wrap {
        position: absolute !important;
        inset: auto auto calc(100% + 8px) 50% !important;
        width: max-content !important;
        height: auto !important;
        max-width: calc(100vw - 24px);
        padding: 0;
        background: transparent;
        transform: translateX(-50%);
    }

    .share-drop-wrap .dropdown {
        width: min(100vw - 24px, 520px);
        max-width: calc(100vw - 24px);
        padding: 18px 14px 20px;
        border-radius: 24px !important;
    }

    .share-drop-wrap .bds_share_title {
        min-height: 32px;
        margin-bottom: 18px;
        padding-right: 28px;
        font-size: 18px;
    }

    .share-drop-wrap .bdsharebuttonbox {
        justify-content: space-between;
        gap: 0;
        margin-bottom: 0;
    }

    .share-drop-wrap .share-channel {
        min-width: 0;
        width: 25%;
    }

    .share-drop-wrap .bdsharebuttonbox a {
        width: 64px !important;
        height: 64px !important;
        padding: 0 !important;
        background-size: 64px 384px !important;
    }

    .share-drop-wrap .share-c {
        margin-top: 10px;
        font-size: 0.24rem;
        line-height: 1.4;
    }

    .share-drop-wrap .show-pc {
        display: none !important;
    }

    .share-drop-wrap .close-img {
        width: 0.42rem;
        top: 0.22rem;
        right: 0.04rem;
    }

    body.ify-play-page .third-party-play-hero__badge::before {
        border-top-width: 11px;
        border-bottom-width: 11px;
        border-left-width: 17px;
    }

    body.ify-play-page .third-party-play-hero__title {
        margin-bottom: 0;
        font-size: 21px;
    }

    body.ify-play-page .third-party-play-hero__desc,
    body.ify-play-page .third-party-play-hero__hint {
        display: none !important;
    }

    body.ify-play-page .third-party-play-hero__meta {
        margin-top: 14px;
    }

    body.ify-play-page .third-party-play-hero__pill {
        min-height: 28px;
        padding: 0 12px;
    }

    body.ify-play-page .third-party-play-hero__button {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        font-size: 15px;
    }

    .ify-header__bar {
        display: none;
    }

    .ify-mobile,
    .ify-mobile-toggle,
    .ify-drawer {
        display: block;
    }

    .ify-mobile__bar {
        min-height: 58px;
    }

    .ify-mobile__search {
        padding: 0;
        border-bottom: 0;
        background: transparent;
    }

    html.theme-black .ify-mobile__search {
        background: transparent;
    }

    .ify-mobile__search form {
        position: relative;
        display: flex;
        align-items: center;
        gap: 8px;
        height: 30px;
        padding: 0 12px 0 34px;
        border: 0;
        border-radius: 999px;
        background: var(--ify-portal-surface-2);
    }

    .ify-mobile__search form i {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--ify-portal-muted);
    }

    .ify-mobile__search input {
        flex: 1;
        min-width: 0;
        border: 0;
        background: transparent;
        color: var(--ify-portal-text);
        font-size: 12px;
    }

    .ify-mobile__search button {
        border: 0;
        background: transparent;
        color: var(--ify-portal-muted);
    }

    .ify-footer__shell {
        grid-template-columns: 1fr;
    }

    .ify-footer__tools {
        justify-content: flex-start;
    }

    .pannel {
        border-radius: 20px;
    }

    .pannel_head {
        padding: 18px 18px 0;
    }

    .ify-home,
    .ify-page-shell {
        padding-top: 18px;
    }

    .ify-home-hero__shell,
    .ify-page-content--two-col,
    .ify-home-channel,
    .ify-rank-grid {
        grid-template-columns: 1fr;
    }

    .ify-home-hero__slide {
        min-height: 420px;
    }

    .ify-home-hero__copy {
        padding: 24px;
    }

    .ify-home-strip,
    .ify-card-grid,
    .ify-card-grid--dense,
    .ify-actor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ify-page-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 18px;
    }

    .ify-panel__head--catalog,
    .ify-catalog-summary,
    .ify-play-stage__headline {
        flex-direction: column;
        align-items: flex-start;
    }

    .ify-catalog-grid {
        padding: 0 18px 6px;
    }

    .ify-channel-overview {
        grid-template-columns: 1fr;
    }

    .ify-detail-hero-wrap .detail_list {
        padding: 18px;
    }

    .ify-rank-tabs__nav {
        width: 100%;
    }

    .content_box,
    .play_box.play_video,
    .searchlist_item {
        grid-template-columns: 1fr;
    }

    .ify-play-detail__stats {
        grid-template-columns: 1fr;
    }

    .detail_list {
        padding: 18px;
    }

    .searchlist_img .vodlist_thumb,
    .searchlist_img .zbvodlist_thumb {
        max-width: 220px;
    }

    body.ify-play-page {
        padding-top: 0;
        overflow-x: hidden;
    }

    body.ify-play-page .ify-play-shell {
        padding-top: 12px;
    }

    body.ify-play-page .ify-play-shell__container,
    body.ify-play-page .ify-play-shell__content {
        width: var(--ify-shell) !important;
        max-width: var(--ify-shell) !important;
        margin: 0 auto !important;
        min-height: 0 !important;
        overflow-x: clip;
    }

    body.ify-play-page .ify-play-stage,
    body.ify-play-page .ify-play-lower {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px;
        width: 100% !important;
        padding: 0 !important;
        border-radius: 18px !important;
    }

    body.ify-play-page .ify-play-stage > .left_row,
    body.ify-play-page .ify-play-lower > .left_row,
    body.ify-play-page .ify-play-shell__content > .left_row {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.ify-play-page .ify-play-side {
        display: none !important;
    }

    body.ify-play-page .ify-play-stage__headline {
        padding: 16px 14px 0;
        margin-bottom: 10px;
    }

    body.ify-play-page .ify-play-stage__headline h1 {
        font-size: 26px;
        line-height: 1.2;
    }

    body.ify-play-page .player_video {
        width: 100% !important;
        border-radius: 16px !important;
    }

    body.ify-play-page .play_but {
        margin-top: 10px;
        border-radius: 16px !important;
        overflow: hidden !important;
    }

    body.ify-play-page .wx_but a {
        border: 0 !important;
        background: linear-gradient(135deg, var(--ify-primary) 0%, var(--ify-primary-strong) 100%) !important;
        box-shadow: 0 10px 22px rgba(79, 70, 229, 0.22) !important;
    }

    body.ify-play-page .play_but ul li {
        width: 100%;
        min-width: 0;
        height: auto;
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px;
    }

    body.ify-play-page .play_but a,
    body.ify-play-page .play_but .play_collec,
    body.ify-play-page .play_but .play_share {
        flex: 1 1 calc(25% - 8px);
        min-width: 74px;
        height: 48px;
        line-height: 48px;
        padding: 0 12px;
        font-size: 13px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.04);
    }

    body.ify-play-page .ify-panel--play-detail,
    body.ify-play-page #bofy,
    body.ify-play-page .ify-panel--related,
    body.ify-play-page #pinglun,
    body.ify-play-page #actor_vbox {
        width: 100% !important;
        padding: 16px !important;
        border-radius: 18px !important;
    }

    body.ify-play-page #bofy {
        padding: 8px 6px 16px !important;
    }

    body.ify-play-page .ify-panel--play-detail .pannel_head,
    body.ify-play-page #bofy .pannel_head,
    body.ify-play-page .ify-panel--related .pannel_head,
    body.ify-play-page #pinglun .pannel_head {
        padding: 0 !important;
    }

    body.ify-play-page .player_detail.detail {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
    }

    body.ify-play-page .player .video_title,
    body.ify-play-page .player .ms_p,
    body.ify-play-page .play_text .text_muted {
        float: none !important;
        margin-right: 0;
    }

    body.ify-play-page .video_title .title {
        font-size: 24px !important;
        line-height: 1.25;
    }

    body.ify-play-page .ify-play-detail__meta {
        display: none !important;
    }

    body.ify-play-page #bofy .title_nav {
        display: flex !important;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        scrollbar-width: none;
    }

    body.ify-play-page #bofy .title_nav::-webkit-scrollbar {
        display: none;
    }

    body.ify-play-page #bofy .title_nav li {
        flex: 0 0 auto;
        width: auto !important;
    }

    body.ify-play-page #bofy .content_playlist {
        display: flex !important;
        flex-wrap: wrap;
        gap: 8px;
        overflow: visible !important;
    }

    body.ify-play-page #bofy .content_playlist li {
        flex: 0 1 auto;
        min-width: 0;
        max-width: 100%;
        width: auto !important;
    }

    body.ify-play-page #bofy .content_playlist li a {
        width: auto;
        max-width: 100%;
        min-height: 30px;
        height: 30px !important;
        padding: 0 10px;
        font-size: 13px;
        line-height: 30px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body.ify-play-page #bofy .playlist_notfull .wrapper_fl {
        max-height: none;
    }

    body.ify-play-page .ify-panel--related .vodlist {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
        padding: 0 !important;
    }

    body.ify-play-page .ify-panel--related .ify-poster-card__title {
        font-size: 14px;
    }
}

/* ify portal home redesign */
:root {
    --ify-portal-bg: #f6f7fb;
    --ify-portal-surface: rgba(255, 255, 255, 0.94);
    --ify-portal-surface-2: #eef1f5;
    --ify-portal-line: rgba(17, 17, 17, 0.08);
    --ify-portal-text: #1f2937;
    --ify-portal-muted: #6b7280;
    --ify-portal-blue: #1f8fff;
    --ify-portal-green: #12a150;
    --ify-portal-yellow: linear-gradient(135deg, #2dc5ff 0%, #a45cff 100%);
    --ify-portal-orange: #a45cff;
    --ify-portal-red: #e85d5d;
    --ify-portal-accent: linear-gradient(90deg, #2dc5ff 0%, #a45cff 100%);
    --ify-portal-radius: 18px;
    --ify-portal-shell: min(1320px, calc(100vw - 40px));
}

html,
body,
.ify-home-page--yfvod {
    background: var(--ify-portal-bg) !important;
    color: var(--ify-portal-text);
}

html.theme-black {
    --ify-portal-bg: #171717;
    --ify-portal-surface: #202020;
    --ify-portal-surface-2: #262626;
    --ify-portal-line: rgba(255, 255, 255, 0.08);
    --ify-portal-text: #f3f3f3;
    --ify-portal-muted: #9b9b9b;
    --ify-portal-blue: #24c9ff;
    --ify-portal-green: #49d76a;
    --ify-portal-yellow: linear-gradient(135deg, #24c9ff 0%, #8b8cff 100%);
    --ify-portal-orange: #8b8cff;
    --ify-portal-red: #ff6b6b;
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

.ify-header--portal {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: var(--ify-portal-surface);
    border-bottom: 1px solid var(--ify-portal-line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ify-header--portal .ify-header__top,
.ify-header--portal .ify-header__sub,
.ify-header--portal .ify-mobile,
.ify-header--portal .ify-mobile__search,
.ify-header--portal .ify-mobile__quick {
    background: transparent;
}

.ify-header--portal .ify-header__inner,
.ify-header--portal .ify-mobile__bar,
.ify-home--portal,
.ify-footer--portal .ify-footer__shell {
    width: var(--ify-portal-shell);
    max-width: 100%;
    margin: 0 auto;
}

.ify-header--portal .ify-header__top {
    border-bottom: 1px solid var(--ify-portal-line);
}

.ify-header--portal .ify-header__inner {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 60px;
}

.ify-header--portal .ify-header__inner--sub {
    min-height: 44px;
}

.ify-header--portal .ify-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 132px;
    min-height: 60px;
}

.ify-header--portal .ify-brand__logo {
    min-height: 52px;
}

.ify-header--portal .ify-brand__logo img {
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

.ify-header--portal .ify-mobile__brand img {
    max-height: 22px;
}

.ify-header--portal .ify-brand__word {
    display: none;
}

.ify-header--portal .ify-brand__light {
    display: block;
}

.ify-header--portal .ify-brand__dark {
    display: none;
}

html.theme-black .ify-header--portal .ify-brand__light {
    display: none;
}

html.theme-black .ify-header--portal .ify-brand__dark {
    display: block;
}

.ify-header--portal .ify-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
}

.ify-header--portal .ify-nav__item,
.ify-header--portal .ify-subnav__item {
    color: var(--ify-portal-text);
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    opacity: 0.88;
}

.ify-header--portal .ify-nav__item {
    padding: 6px 10px;
    border-radius: 999px;
}

.ify-header--portal .ify-nav__item:hover,
.ify-header--portal .ify-nav__item.is-current,
.ify-header--portal .ify-subnav__item:hover {
    color: var(--ify-portal-text);
    opacity: 1;
    background: rgba(127, 127, 127, 0.10);
}

.ify-header--portal .ify-nav__item--more i {
    margin-left: 4px;
    font-size: 12px;
}

.ify-header--portal .ify-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 260px;
    max-width: 100%;
    height: 38px;
    min-width: 200px;
    padding: 0 10px 0 52px;
    border: 0;
    border-radius: 999px;
    background: var(--ify-portal-surface-2);
    box-shadow: none;
    overflow: visible;
}

.ify-header--portal .ify-search__icon,
.ify-header--portal .ify-search i.ify-search__icon {
    left: 10px;
    top: 50%;
    padding: 0;
    width: 16px !important;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 16px;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--ify-portal-muted);
}

.ify-header--portal .ify-search__input,
.ify-header--portal .ify-mobile__search input {
    position: static;
    display: block;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding: 0;
    margin-left: 4px;
    color: var(--ify-portal-text);
    font-size: 13px;
    line-height: normal;
    z-index: 1;
}

.ify-header--portal .ify-search__input::placeholder,
.ify-header--portal .ify-mobile__search input::placeholder {
    color: var(--ify-portal-muted);
}

.ify-header--portal .ify-search__submit {
    min-width: 56px;
    height: 28px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: var(--ify-portal-accent);
    color: #fff;
    font-size: 12px;
}

.ify-header--portal .ify-search .mac_results {
    display: none;
    position: fixed;
    top: calc(100% + 12px) !important;
    left: 0;
    right: auto;
    width: 320px !important;
    min-width: 320px !important;
    max-width: min(320px, calc(100vw - 32px)) !important;
    background: var(--ify-portal-surface);
    border: 1px solid var(--ify-portal-line);
    border-radius: 14px;
    overflow: hidden;
    z-index: 30;
    margin: 0;
    padding: 0;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
    text-align: left;
    box-sizing: border-box;
}

.ify-header--portal .ify-search.is-open .mac_results {
    display: block;
}

.ify-header--portal .ify-search .mac_results .mac_title {
    padding: 14px 16px 8px;
    color: var(--ify-portal-muted);
    font-size: 13px;
}

.ify-header--portal .ify-search .mac_results .hot_keys {
    display: grid;
    gap: 0;
    padding: 0 0 10px;
    margin: 0;
    width: 100%;
}

.ify-header--portal .ify-search .mac_results li {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: auto;
    min-height: 42px;
    margin: 0;
    padding: 0 16px;
    color: var(--ify-portal-text);
    font-size: 13px;
    line-height: 1.5;
    box-sizing: border-box;
}

.ify-header--portal .ify-search .mac_results li:hover {
    background: rgba(127, 127, 127, 0.10);
}

.ify-header--portal .ify-search .mac_results li .s2 {
    flex: 1 1 auto;
    width: auto;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ify-header--portal .ify-search .mac_results li .s1 {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 4px;
    font-size: 11px;
}

.ify-header--portal .ify-tools,
.ify-header--portal .ify-mobile__actions,
.ify-header--portal .ify-subnav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ify-header--portal .ify-tool,
.ify-header--portal .ify-mobile__icon,
.ify-footer--portal .ify-footer__tool,
.ify-header--portal .ify-drawer__mode {
    min-width: 34px;
    min-height: 34px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: var(--ify-portal-surface-2);
    color: var(--ify-portal-text);
}

.ify-header--portal .ify-tool.hide,
.ify-header--portal .ify-mobile__icon.hide,
.ify-footer--portal .ify-footer__tool.hide,
.ify-header--portal .ify-drawer__mode.hide {
    display: none !important;
}

.ify-header--portal .ify-tool--accent {
    min-width: auto;
    background: linear-gradient(90deg, #28c8ff 0%, #ff7ad9 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.ify-header--portal .ify-subnav {
    flex-wrap: wrap;
    gap: 16px;
    padding: 8px 0 12px;
}

.ify-header--portal .ify-subnav__item {
    color: var(--ify-portal-muted);
    font-size: 13px;
}

.ify-header--portal .ify-mobile,
.ify-header--portal .ify-mobile-toggle,
.ify-header--portal .ify-drawer {
    display: none;
}

.ify-header--portal .ify-drawer__mask {
    background: rgba(0, 0, 0, 0.62);
}

.ify-header--portal .ify-drawer__panel {
    background: var(--ify-portal-surface);
    box-shadow: none;
}

.ify-header--portal .ify-drawer.is-open .ify-drawer__panel,
.ify-drawer.is-open .ify-drawer__panel {
    box-shadow: -18px 0 36px rgba(15, 23, 42, 0.18);
}

.ify-header--portal .ify-drawer__item,
.ify-header--portal .ify-drawer__pill {
    background: var(--ify-portal-surface-2);
    color: var(--ify-portal-text);
}

.ify-header--portal .ify-drawer__item.is-current,
.ify-header--portal .ify-drawer__pill:hover {
    background: rgba(127, 127, 127, 0.14);
    color: var(--ify-portal-text);
}

.ify-home--portal {
    padding: 18px 0 0;
}

.ify-home--portal .ify-home-hero {
    margin-bottom: 26px;
}

.ify-home--portal .ify-home-hero__banner {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

.ify-home--portal .ify-home-hero__slider {
    position: relative;
    display: flex;
    touch-action: pan-y;
    transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.ify-home--portal .ify-home-hero__slider.is-dragging {
    transition: none;
}

.ify-home--portal .ify-home-hero__slider.is-jumping {
    transition: none !important;
}

.ify-home--portal .ify-home-hero__slide {
    position: relative;
    display: block;
    flex: 0 0 100%;
    width: 100%;
    min-height: 470px;
}

.ify-home--portal .ify-home-hero__slider:not(.is-ready) .ify-home-hero__slide {
    display: none;
}

.ify-home--portal .ify-home-hero__slider:not(.is-ready) .ify-home-hero__slide:first-child {
    display: block;
}

.ify-home--portal .ify-home-hero__image,
.ify-home--portal .ify-home-hero__image img {
    display: block;
    width: 100%;
    height: 100%;
}

.ify-home--portal .ify-home-hero__image {
    min-height: 470px;
}

.ify-home--portal .ify-home-hero__image img {
    object-fit: cover;
}

.ify-home--portal .ify-home-hero__overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 34px 38px 30px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(12, 12, 12, 0.84) 68%, rgba(12, 12, 12, 0.94) 100%);
}

.ify-home--portal .ify-home-hero__crumb {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.ify-home--portal .ify-home-hero__overlay h1 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 600;
}

.ify-home--portal .ify-home-hero__overlay p {
    max-width: 620px;
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.75;
}

.ify-home--portal .ify-home-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ify-home--portal .ify-home-hero__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
}

.ify-home--portal .ify-home-hero__meta .is-score {
    background: rgba(36, 201, 255, 0.16);
    color: var(--ify-portal-blue);
    font-weight: 700;
}

.ify-home--portal .ify-home-hero__dots {
    position: absolute;
    right: 28px;
    bottom: 26px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.ify-home--portal .ify-home-hero__dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.56);
    cursor: pointer;
    transition: width 0.24s ease, background 0.24s ease, transform 0.24s ease;
}

.ify-home--portal .ify-home-hero__dots button.is-active {
    width: 24px;
    background: var(--ify-portal-blue);
}

.ify-home-pillbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 4px 0;
}

.ify-home-pillbar__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--ify-portal-surface-2);
    color: var(--ify-portal-text);
    text-decoration: none;
    font-size: 14px;
}

.ify-home-pillbar__item:hover {
    background: rgba(127, 127, 127, 0.14);
    color: var(--ify-portal-text);
}

.ify-home-hot,
.ify-home-floor {
    margin-bottom: 30px;
}

.ify-home-block__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.ify-home-block__title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ify-home-block__title i {
    color: var(--ify-portal-blue);
    font-size: 18px;
}

.ify-home-block__title h2 {
    margin: 0;
    color: var(--ify-portal-text);
    font-size: 24px;
    font-weight: 600;
}

.ify-home-block__title span,
.ify-home-block__more {
    color: var(--ify-portal-muted);
    font-size: 12px;
}

.ify-channel-all-link {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--ify-portal-surface-2);
    color: var(--ify-portal-muted);
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.ify-channel-all-link i {
    font-size: 15px;
}

.ify-home-floor__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.ify-home-floor__morelink {
    margin-left: auto;
    order: 99;
}

.ify-home-floor__tags a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--ify-portal-surface-2);
    color: var(--ify-portal-text);
    text-decoration: none;
    font-size: 12px;
}

.ify-home-floor__tags a:hover {
    background: rgba(127, 127, 127, 0.14);
    color: var(--ify-portal-text);
}

.ify-home-floor__tags .ify-home-floor__morelink {
    background: rgba(31, 143, 255, 0.12);
    color: var(--ify-portal-blue);
}

.ify-home-hot__grid,
.ify-home-floor__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px 16px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ify-home-hot__viewport {
    width: 100%;
    overflow: hidden;
}

.ify-home-hot__grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 18px 16px;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.ify-home-hot__grid .ify-poster-card {
    flex: 0 0 calc((100% - 80px) / 6);
    min-width: 0;
}

@media screen and (min-width: 821px) {
    .ify-channel-page .ify-portal-panel > .ify-home-hot__grid {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        transform: none !important;
        transition: none;
        will-change: auto;
    }

    .ify-channel-page .ify-portal-panel > .ify-home-hot__grid .ify-poster-card {
        flex: initial;
        min-width: 0;
    }
}

.ify-home-hot__controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.ify-home-hot__control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--ify-portal-line);
    border-radius: 50%;
    background: var(--ify-portal-surface);
    color: var(--ify-portal-text);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ify-home-hot__control:hover,
.ify-home-hot__control:focus-visible {
    border-color: rgba(31, 143, 255, 0.36);
    background: rgba(31, 143, 255, 0.12);
    color: var(--ify-portal-blue);
}

.ify-home-hot__control:active {
    transform: scale(0.94);
}

.ify-poster-card {
    list-style: none;
}

.ify-poster-card__poster {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 142%;
    overflow: hidden;
    border-radius: 12px;
    background: var(--ify-portal-surface-2);
    box-shadow: inset 0 -48px 60px rgba(0, 0, 0, 0.24);
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.ify-poster-card__poster .lazyload,
.ify-poster-card__poster img,
.ify-poster-card__poster::before {
    border-radius: 12px;
}

.ify-poster-card__poster .loading,
.ify-poster-card__poster .vod_vip {
    display: none !important;
}

.ify-poster-card__poster:after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 42%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(8, 8, 8, 0.72) 100%);
    pointer-events: none;
}

.ify-poster-card__badge,
.ify-poster-card__score {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 0 7px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.ify-poster-card__badge {
    top: 8px;
    right: 8px;
    background: var(--ify-portal-yellow);
    color: #fff;
}

.ify-poster-card__score {
    left: 8px;
    bottom: 8px;
    background: rgba(36, 201, 255, 0.14);
    color: var(--ify-portal-blue);
}

.ify-search-card__poster {
    position: relative;
}

.ify-search-page .ify-search-list {
    display: grid;
    gap: 16px;
}

.ify-search-page .ify-page-hero--portal {
    display: block;
    padding: 18px 22px;
}

.ify-search-page .ify-page-hero--portal .ify-page-hero__copy h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.35;
}

.ify-search-page .ify-page-hero--portal .ify-page-hero__copy h1 .mac_total {
    display: inline;
    margin: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    vertical-align: baseline;
}

.ify-search-page .ify-page-hero--portal .ify-page-hero__copy p,
.ify-search-page .ify-page-hero--portal .ify-page-hero__eyebrow,
.ify-search-page .ify-page-hero--portal .ify-page-hero__meta {
    display: none;
}

.ify-search-page .ify-search-card {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    align-items: stretch;
    gap: 18px;
    min-height: 184px;
    padding: 14px;
    border: 1px solid var(--ify-portal-line);
    border-radius: 18px;
    background: var(--ify-portal-surface);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ify-search-page .ify-search-card:hover {
    transform: translateY(-2px);
    border-color: rgba(31, 143, 255, 0.2);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
}

.ify-search-page .ify-search-card__poster {
    display: block;
    width: 128px;
    min-height: 176px;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 14px;
    background-color: var(--ify-portal-surface-2);
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.ify-search-page .ify-search-card__poster:after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(8, 8, 8, 0.48) 100%);
    pointer-events: none;
}

.ify-search-page .ify-search-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 4px 6px 4px 0;
}

.ify-search-page .ify-search-card__title {
    margin: 0 0 8px;
    color: var(--ify-portal-text);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

.ify-search-page .ify-search-card__title a {
    color: inherit;
    text-decoration: none;
}

.ify-search-page .ify-search-card__title a:hover {
    color: var(--ify-portal-blue);
}

.ify-search-page .ify-search-card__meta {
    margin: 0 0 8px;
    color: var(--ify-portal-muted);
    font-size: 13px;
    line-height: 1.6;
}

.ify-search-page .ify-search-card__desc {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--ify-portal-text);
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.82;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ify-search-page .ify-search-card__actions {
    display: flex;
    margin-top: 14px;
}

.ify-search-page .ify-search-card__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--ify-portal-surface-2);
    color: var(--ify-portal-blue);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ify-search-page .ify-search-card__actions a:hover {
    background: var(--ify-portal-accent);
    color: #fff;
    transform: translateY(-1px);
}

.ify-search-card__badge {
    position: absolute;
    z-index: 2;
    top: 8px;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 0 7px;
    border-radius: 4px;
    background: var(--ify-portal-yellow);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.ify-poster-card__body {
    padding: 8px 2px 0;
}

.ify-poster-card__title {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
}

.ify-poster-card__title a {
    color: var(--ify-portal-text);
    text-decoration: none;
}

.ify-poster-card__meta {
    margin: 0;
    color: var(--ify-portal-muted);
    font-size: 12px;
    line-height: 1.5;
}

.ify-footer--portal {
    margin-top: 26px;
    padding: 20px 0 28px;
    background: var(--ify-portal-surface) !important;
    border-top: 1px solid var(--ify-portal-line);
}

.ify-footer--portal .ify-footer__shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.ify-footer--portal .ify-footer__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.ify-footer--portal .ify-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.ify-footer--portal .ify-footer__links a,
.ify-footer--portal .ify-footer__copy,
.ify-footer--portal .ify-footer__copy p,
.ify-footer--portal .ify-footer a {
    color: var(--ify-portal-muted);
    text-decoration: none;
    font-size: 12px;
    line-height: 1.8;
}

.ify-footer--portal .ify-footer__links a:hover,
.ify-footer--portal .ify-footer__tool:hover {
    color: var(--ify-portal-text);
}

.ify-footer--portal .ify-footer__tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ify-footer--portal .ify-footer__tool {
    background: var(--ify-portal-surface-2);
}

.ify-footer--portal .ify-footer__tool.mycolor.hide {
    display: none !important;
}

.ify-page-shell--portal {
    width: var(--ify-portal-shell);
    max-width: 100%;
    padding: 22px 0 0;
}

.ify-page-hero--portal,
.ify-portal-panel {
    border: 1px solid var(--ify-portal-line);
    border-radius: 18px;
    background: var(--ify-portal-surface);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

.ify-page-hero--portal {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr);
    gap: 28px;
    align-items: end;
    padding: 28px 30px;
    margin-bottom: 22px;
}

.ify-page-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(36, 201, 255, 0.12);
    color: var(--ify-portal-blue);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ify-page-hero--portal .ify-page-hero__copy h1 {
    margin: 14px 0 10px;
    font-size: clamp(30px, 3vw, 44px);
    color: var(--ify-portal-text);
}

.ify-page-hero--portal .ify-page-hero__copy p {
    margin: 0;
    color: var(--ify-portal-muted);
    line-height: 1.8;
}

.ify-page-hero--portal .ify-page-hero__meta {
    display: grid;
    gap: 12px;
    justify-items: end;
}

.ify-page-hero--portal .ify-page-hero__meta > span {
    color: var(--ify-portal-muted);
    font-size: 12px;
}

.ify-page-hero--portal .ify-page-hero__meta strong {
    color: var(--ify-portal-text);
    font-size: 44px;
    line-height: 1;
}

.ify-portal-panel {
    margin-bottom: 24px;
    padding: 22px 24px 24px;
}

.ify-map-page .ify-page-shell--portal,
.ify-latest-page .ify-page-shell--portal {
    padding-top: 8px;
}

.ify-rank-page .ify-page-shell {
    padding-top: 8px;
}

.ify-portal-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.ify-portal-tags a,
.ify-portal-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--ify-portal-surface-2);
    color: var(--ify-portal-text);
    text-decoration: none;
    font-size: 13px;
}

.ify-portal-tags a.is-current,
.ify-portal-tags a:hover {
    background: rgba(31, 143, 255, 0.12);
    color: var(--ify-portal-blue);
}

.ify-portal-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.ify-portal-toolbar a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--ify-portal-surface-2);
    color: var(--ify-portal-text);
    text-decoration: none;
    font-size: 13px;
}

.ify-portal-toolbar a.is-current,
.ify-portal-toolbar a:hover {
    background: var(--ify-portal-accent);
    color: #fff;
}

.ify-portal-filter-grid {
    display: grid;
    gap: 14px;
}

.ify-portal-filter-line {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.ify-portal-filter-line > span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    color: #8f8f8f;
    font-size: 13px;
}

.ify-show-page .ify-page-shell--portal {
    padding-top: 22px;
}

.ify-show-page .ify-page-hero--portal {
    display: none;
}

.ify-show-page .ify-portal-panel--filters {
    --ify-filter-label-width: 68px;
    --ify-filter-label-gap: 7px;
    padding: 16px 10px 18px;
}

.ify-show-page .ify-portal-panel--filters .ify-portal-tags {
    align-items: center;
}

.ify-show-page .ify-portal-panel--filters .vod_all {
    border: 1px solid rgba(111, 124, 255, 0.14) !important;
    border-radius: 16px;
    background: var(--ify-portal-surface) !important;
    box-shadow: none;
    padding: 0 !important;
    overflow: hidden;
}

.ify-show-page .ify-portal-panel--filters .listnow,
.ify-show-page .ify-portal-panel--filters .wrapper_fl {
    margin: 0;
}

.ify-show-page .ify-portal-panel--filters .list_type_title {
    display: flex;
    align-items: center;
    gap: 7px;
    overflow: visible;
    position: relative;
    margin: 0;
    padding: 10px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.ify-show-page .ify-portal-panel--filters .screen_list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 5px;
    position: relative;
    overflow: visible;
    min-height: 40px;
    margin: 0;
    padding: 8px 10px 8px calc(10px + var(--ify-filter-label-width) + var(--ify-filter-label-gap));
}

.ify-show-page .ify-portal-panel--filters .wrapper_fl {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.ify-show-page .ify-portal-panel--filters .wrapper_fl:last-child {
    border-bottom: 0;
}

.ify-show-page .ify-portal-panel--filters .scroller {
    overflow: visible;
}

.ify-show-page .ify-portal-panel--filters .list_type_title .sx_title,
.ify-show-page .ify-portal-panel--filters .screen_list li.text {
    float: none;
    flex: 0 0 var(--ify-filter-label-width);
    min-width: 0;
    width: auto;
    margin: 0;
    padding: 0;
}

.ify-show-page .ify-portal-panel--filters .screen_list li.text {
    position: absolute;
    top: 8px;
    left: 10px;
    width: var(--ify-filter-label-width);
}

.ify-show-page .ify-portal-panel--filters .list_type_title .sx_title,
.ify-show-page .ify-portal-panel--filters .screen_list li.text span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.ify-show-page .ify-portal-panel--filters .list_type_title .sx_title2,
.ify-show-page .ify-portal-panel--filters .list_type_title .sx_txt li {
    float: none;
    min-height: 26px;
    margin: 0;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(111, 124, 255, 0.10) !important;
    color: #4f46e5;
    font-size: 12px;
    font-weight: 700;
    line-height: 26px;
}

.ify-show-page .ify-portal-panel--filters .list_type_title .sx_txt {
    display: inline-flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ify-show-page .ify-portal-panel--filters .list_type_title > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    float: none;
    flex: 0 0 auto;
    position: static;
    right: auto;
    margin-left: auto;
    line-height: 1;
}

.ify-show-page .ify-portal-panel--filters .list_type_title > span a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--ify-portal-surface-2);
    color: var(--ify-portal-muted);
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
}

.ify-show-page .ify-filter-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--ify-portal-surface-2) !important;
    color: #5b6473;
    cursor: pointer;
    line-height: 1;
    transition: background 0.18s ease, color 0.18s ease;
}

.ify-show-page .ify-filter-toggle span {
    display: block;
    position: relative;
    width: 8px;
    height: 8px;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent !important;
    color: inherit;
    transition: transform 0.18s ease;
}

.ify-show-page .ify-portal-panel--filters .ify-portal-tags .ify-filter-toggle span {
    display: block;
    width: 8px;
    height: 8px;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent !important;
    color: inherit;
}

.ify-show-page .ify-filter-toggle span::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    border-radius: 0;
    background: transparent;
    transform: rotate(45deg);
    transform-origin: center;
}

.ify-show-page .ify-filter-toggle span::after {
    display: none;
    content: none;
}

.ify-show-page .ify-filter-toggle:hover {
    background: rgba(111, 124, 255, 0.12) !important;
    color: #4f46e5;
}

.ify-show-page .ify-portal-panel--filters.is-collapsed .ify-filter-toggle {
    transform: none;
}

.ify-show-page .ify-portal-panel--filters.is-collapsed .ify-filter-toggle span {
    transform: rotate(90deg);
}

.ify-show-page .ify-portal-panel--filters.is-collapsed .vod_all {
    display: none !important;
}

.ify-show-page .ify-portal-panel--filters.is-collapsed .vod_all > .wrapper_fl {
    display: none;
}

.ify-show-page .ify-portal-panel--filters .screen_list li {
    float: none;
    margin: 0;
}

.ify-show-page .ify-portal-panel--filters .screen_list li:not(.text) {
    display: inline-flex;
}

.ify-show-page .ify-portal-panel--filters .screen_list li:empty {
    display: none;
}

.ify-show-page .ify-portal-panel--filters .screen_list li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    margin: 0;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--ify-portal-surface-2);
    color: var(--ify-portal-muted);
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
    transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.ify-show-page .ify-portal-panel--filters .screen_list li a:hover {
    background: rgba(111, 124, 255, 0.12);
    color: #4f46e5;
}

.ify-show-page .ify-portal-panel--filters .screen_list li.hl a,
.ify-show-page .ify-portal-panel--filters .screen_list li.hl_fl a,
.ify-show-page .ify-portal-panel--filters .screen_list li[class*="tplconfig-"] a {
    background: linear-gradient(135deg, #6f7cff 0%, #4f46e5 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.16);
}

html.theme-black .ify-show-page .ify-portal-panel--filters .vod_all {
    border-color: rgba(255, 255, 255, 0.08) !important;
    background: #1b1b1b !important;
}

html.theme-black .ify-show-page .ify-portal-panel--filters .list_type_title,
html.theme-black .ify-show-page .ify-portal-panel--filters .wrapper_fl {
    border-color: rgba(255, 255, 255, 0.12);
}

html.theme-black .ify-show-page .ify-portal-panel--filters .list_type_title .sx_title,
html.theme-black .ify-show-page .ify-portal-panel--filters .screen_list li.text span {
    background: rgba(111, 124, 255, 0.16);
    color: #dbe4ff;
}

html.theme-black .ify-show-page .ify-portal-panel--filters .list_type_title .sx_title2,
html.theme-black .ify-show-page .ify-portal-panel--filters .list_type_title .sx_txt li {
    background: rgba(111, 124, 255, 0.18) !important;
    color: #dbe4ff;
}

html.theme-black .ify-show-page .ify-portal-panel--filters .list_type_title > span a,
html.theme-black .ify-show-page .ify-portal-panel--filters .screen_list li a {
    background: #252525;
    color: rgba(255, 255, 255, 0.72);
}

html.theme-black .ify-show-page .ify-portal-panel--filters .screen_list li a:hover {
    background: rgba(111, 124, 255, 0.18);
    color: #fff;
}

.ify-review-feature {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 24px;
}

.ify-review-feature__media,
.ify-review-card .review_card_poster,
.ify-article-card__poster,
.ify-topic-card__poster {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: #292929;
}

.ify-review-feature__media img,
.ify-review-card .review_card_poster img,
.ify-article-card__poster img,
.ify-topic-card__poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ify-review-feature__media img {
    aspect-ratio: 3 / 4;
}

.ify-review-feature__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ify-review-feature__label,
.ify-review-sidecard h3,
.ify-website-row__meta a,
.ify-website-row__meta span,
.ify-website-row__meta time {
    color: var(--ify-portal-blue);
}

.ify-review-feature__body h2,
.ify-review-feature__body h2 a,
.ify-review-card .review_card_title a,
.ify-article-card h3 a,
.ify-topic-card h3 a,
.ify-website-row__title h3 a {
    color: var(--ify-portal-text);
    text-decoration: none;
}

.ify-review-feature__body h2 {
    margin: 0;
    font-size: 32px;
    line-height: 1.3;
}

.ify-review-feature__body p,
.ify-article-card p,
.ify-topic-card p,
.ify-website-row__title p {
    margin: 0;
    color: var(--ify-portal-muted);
    line-height: 1.8;
}

.ify-review-feature__meta,
.ify-review-feature__actions,
.ify-article-card__meta,
.ify-topic-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ify-review-feature__meta span,
.ify-article-card__meta span,
.ify-topic-card__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #2a2a2a;
    color: #d7d7d7;
    font-size: 12px;
}

.ify-review-grid,
.ify-article-grid,
.ify-topic-grid,
.ify-map-grid {
    display: grid;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ify-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ify-review-card,
.ify-article-card,
.ify-topic-card {
    list-style: none;
}

.ify-review-card .review_card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 16px;
    height: 100%;
    padding: 16px;
    border-radius: 18px;
    background: #252525;
}

.ify-review-card .review_card_badge,
.ify-review-card .review_card_score,
.ify-article-card__badge,
.ify-topic-card__badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
}

.ify-review-card .review_card_badge,
.ify-topic-card__badge {
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
}

.ify-review-card .review_card_score,
.ify-article-card__badge {
    right: 10px;
    bottom: 10px;
    background: linear-gradient(90deg, #2dc5ff 0%, #a45cff 100%);
    color: #fff;
}

.ify-review-card .review_card_body,
.ify-article-card__body,
.ify-topic-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ify-review-card .review_card_title,
.ify-article-card h3,
.ify-topic-card h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.45;
}

.ify-review-card .review_card_meta,
.ify-review-card .review_card_hits,
.ify-review-card .review_card_author,
.ify-review-card .review_card_summary,
.ify-review-card .review_card_linked_label,
.ify-review-card .review_card_linked_label_empty {
    color: #a2a2a2;
}

.ify-review-card .review_card_linked_name,
.ify-review-card .review_card_more,
.ify-review-card .review_card_type a {
    color: var(--ify-portal-blue);
}

.ify-review-aside-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ify-review-sidecard {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    background: #252525;
}

.ify-review-sidecard h3 {
    margin: 0 0 14px;
    font-size: 20px;
}

.ify-article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ify-article-card,
.ify-topic-card {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
    background: #252525;
}

.ify-article-card__poster img,
.ify-topic-card__poster img {
    aspect-ratio: 16 / 10;
}

.ify-topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ify-actor-grid--portal {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.ify-actor-grid--portal li {
    padding: 18px 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    background: #252525;
}

.ify-actor-grid--portal a {
    display: block;
    color: #fff;
    text-decoration: none;
    text-align: center;
}

.ify-actor-grid--portal strong {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
}

.ify-actor-grid--portal em {
    display: block;
    color: #989898;
    font-size: 12px;
    font-style: normal;
    line-height: 1.6;
}

.ify-map-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.ify-map-grid > li {
    list-style: none;
}

.ify-website-table {
    display: grid;
    gap: 14px;
}

.ify-website-table__head,
.ify-website-row {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 160px 140px 140px;
    gap: 16px;
    align-items: center;
}

.ify-website-table__head {
    padding: 0 6px;
    color: #8f8f8f;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ify-website-row {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    background: #252525;
}

.ify-website-row__title h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.ify-website-row__title p {
    font-size: 13px;
}

.ify-website-row__meta {
    color: #cfcfcf;
    font-size: 13px;
}

.ify-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.ify-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: #2a2a2a;
    color: #ddd;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ify-pagination a.is-current {
    background: linear-gradient(90deg, #2dc5ff 0%, #a45cff 100%);
    color: #fff;
    box-shadow: 0 8px 18px rgba(77, 116, 255, .24);
}

.ify-pagination a:hover {
    background: linear-gradient(90deg, #2dc5ff 0%, #a45cff 100%);
    color: #fff;
    box-shadow: 0 8px 18px rgba(77, 116, 255, .24);
    transform: translateY(-1px);
}

.ify-pagination a.is-disabled {
    opacity: .4;
    pointer-events: none;
}

html.theme-white,
html.theme-white body,
html.theme-white .ify-home-page--yfvod {
    background: #f5f5f5 !important;
    color: #1f1f1f;
}

html.theme-white .ify-header--portal {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: rgba(17, 17, 17, 0.06);
}

html.theme-white .ify-header--portal .ify-header__top {
    border-bottom-color: rgba(17, 17, 17, 0.04);
}

html.theme-white .ify-header--portal .ify-nav__item,
html.theme-white .ify-header--portal .ify-subnav__item {
    color: #2a2a2a;
}

html.theme-white .ify-header--portal .ify-nav__item:hover,
html.theme-white .ify-header--portal .ify-nav__item.is-current,
html.theme-white .ify-header--portal .ify-subnav__item:hover {
    color: #111;
    background: rgba(17, 17, 17, 0.06);
}

html.theme-white .ify-header--portal .ify-subnav__item,
html.theme-white .ify-home-block__title span,
html.theme-white .ify-home-block__more,
html.theme-white .ify-footer--portal .ify-footer__links a,
html.theme-white .ify-footer--portal .ify-footer__copy,
html.theme-white .ify-footer--portal .ify-footer__copy p,
html.theme-white .ify-footer--portal .ify-footer a {
    color: #8a8a8a;
}

html.theme-white .ify-header--portal .ify-search {
    background: #f1f1f1;
    box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.04);
}

html.theme-white .ify-header--portal .ify-search__icon,
html.theme-white .ify-header--portal .ify-search i.ify-search__icon,
html.theme-white .ify-header--portal .ify-search__input::placeholder,
html.theme-white .ify-header--portal .ify-mobile__search input::placeholder {
    color: #b3b3b3;
}

html.theme-white .ify-header--portal .ify-search__input,
html.theme-white .ify-header--portal .ify-mobile__search input {
    color: #222;
}

html.theme-white .ify-header--portal .ify-tool,
html.theme-white .ify-header--portal .ify-mobile__icon,
html.theme-white .ify-footer--portal .ify-footer__tool,
html.theme-white .ify-header--portal .ify-drawer__mode {
    background: #ffffff;
    color: #666;
}

html.theme-white .ify-header--portal .ify-drawer__mask {
    background: rgba(0, 0, 0, 0.32);
}

html.theme-white .ify-header--portal .ify-drawer__panel {
    background: #ffffff;
    box-shadow: none;
}

html.theme-white .ify-header--portal .ify-drawer.is-open .ify-drawer__panel,
html.theme-white .ify-drawer.is-open .ify-drawer__panel {
    box-shadow: -18px 0 36px rgba(31, 31, 31, 0.12);
}

html.theme-white .ify-header--portal .ify-drawer__item,
html.theme-white .ify-header--portal .ify-drawer__pill {
    background: #ffffff;
    color: #353535;
    box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.05);
}

html.theme-white .ify-header--portal .ify-drawer__item.is-current,
html.theme-white .ify-header--portal .ify-drawer__pill:hover {
    background: #f7f7f8;
    color: #111;
}

html.theme-white .ify-home-pillbar__item,
html.theme-white .ify-home-floor__tags a,
html.theme-white .ify-portal-tags a,
html.theme-white .ify-portal-tags span,
html.theme-white .ify-portal-toolbar a,
html.theme-white .ify-pagination a {
    background: #f0f0f0;
    color: #525252;
}

html.theme-white .ify-show-page .ify-filter-toggle {
    background: #f0f0f0 !important;
    color: #525252;
}

html.theme-white .ify-home-pillbar__item:hover,
html.theme-white .ify-home-floor__tags a:hover {
    background: #e7e7e7;
    color: #1c1c1c;
}

html.theme-white .ify-show-page .ify-filter-toggle:hover {
    background: #e7e7e7 !important;
    color: #1c1c1c;
}

html.theme-white .ify-home-floor__tags .ify-home-floor__morelink {
    background: rgba(45, 197, 255, 0.1);
    color: #2f7df6;
}

html.theme-white .ify-pagination a.is-current,
html.theme-white .ify-pagination a:hover {
    background: linear-gradient(90deg, #2dc5ff 0%, #a45cff 100%);
    color: #fff;
    box-shadow: 0 8px 18px rgba(77, 116, 255, .24);
}

html.theme-white .ify-home-block__title h2,
html.theme-white .ify-page-hero--portal .ify-page-hero__copy h1,
html.theme-white .ify-page-hero--portal .ify-page-hero__meta strong,
html.theme-white .ify-review-feature__body h2,
html.theme-white .ify-review-feature__body h2 a,
html.theme-white .ify-review-card .review_card_title a,
html.theme-white .ify-article-card h3 a,
html.theme-white .ify-topic-card h3 a,
html.theme-white .ify-website-row__title h3 a,
html.theme-white .ify-actor-grid--portal a,
html.theme-white .ify-poster-card__title a {
    color: #1c1c1c;
}

html.theme-white .ify-poster-card__poster,
html.theme-white .ify-review-feature__media,
html.theme-white .ify-review-card .review_card_poster,
html.theme-white .ify-article-card__poster,
html.theme-white .ify-topic-card__poster {
    background: #e9e9e9;
}

html.theme-white .ify-poster-card__poster {
    box-shadow: inset 0 -42px 60px rgba(0, 0, 0, 0.18);
}

html.theme-white .ify-poster-card__poster:after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(20, 20, 20, 0.2) 100%);
}

html.theme-white .ify-poster-card__badge {
    color: #fff;
}

html.theme-white .ify-poster-card__meta,
html.theme-white .ify-page-hero--portal .ify-page-hero__copy p,
html.theme-white .ify-page-hero--portal .ify-page-hero__meta > span,
html.theme-white .ify-portal-filter-line > span,
html.theme-white .ify-review-feature__body p,
html.theme-white .ify-article-card p,
html.theme-white .ify-topic-card p,
html.theme-white .ify-website-row__title p,
html.theme-white .ify-review-card .review_card_meta,
html.theme-white .ify-review-card .review_card_hits,
html.theme-white .ify-review-card .review_card_author,
html.theme-white .ify-review-card .review_card_summary,
html.theme-white .ify-review-card .review_card_linked_label,
html.theme-white .ify-review-card .review_card_linked_label_empty,
html.theme-white .ify-actor-grid--portal em,
html.theme-white .ify-website-table__head,
html.theme-white .ify-website-row__meta {
    color: #8a8a8a;
}

html.theme-white .ify-footer--portal {
    background: #ffffff !important;
    border-top-color: rgba(17, 17, 17, 0.06);
}

html.theme-white .ify-footer--portal .ify-footer__links a:hover,
html.theme-white .ify-footer--portal .ify-footer__tool:hover {
    color: #1c1c1c;
}

html.theme-white .ify-footer--portal .ify-footer__tool {
    background: #f1f1f1;
}

html.theme-white .ify-page-hero--portal,
html.theme-white .ify-portal-panel,
html.theme-white .ify-review-sidecard,
html.theme-white .ify-review-card .review_card,
html.theme-white .ify-article-card,
html.theme-white .ify-topic-card,
html.theme-white .ify-actor-grid--portal li,
html.theme-white .ify-website-row {
    border-color: rgba(17, 17, 17, 0.06);
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(17, 17, 17, 0.05);
}

html.theme-white .ify-review-feature__meta span,
html.theme-white .ify-article-card__meta span,
html.theme-white .ify-topic-card__meta span {
    background: #f4f4f4;
    color: #5e5e5e;
}

html.theme-white .ify-review-card .review_card_badge,
html.theme-white .ify-topic-card__badge {
    background: rgba(20, 20, 20, 0.58);
}

html.theme-white .ify-page-hero__eyebrow,
html.theme-white .ify-poster-card__score,
html.theme-white .ify-home-floor__tags .ify-home-floor__morelink,
html.theme-white .ify-portal-tags a.is-current,
html.theme-white .ify-portal-tags a:hover {
    background: rgba(45, 197, 255, 0.1);
    color: #1688d9;
}

html.theme-white .ify-home-hero__overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(20, 20, 20, 0.18) 62%, rgba(20, 20, 20, 0.34) 100%);
}

html.theme-white .ify-home-hero__crumb,
html.theme-white .ify-home-hero__overlay p,
html.theme-white .ify-home-hero__meta span {
    color: rgba(255, 255, 255, 0.88);
}

html.theme-white .ify-home-hero__meta span {
    background: rgba(255, 255, 255, 0.3);
}

html.theme-white .ify-home-hero__meta .is-score {
    background: rgba(255, 255, 255, 0.42);
}

@media screen and (max-width: 820px) {
    html.theme-white .ify-header--portal .ify-mobile__search form,
    html.theme-white .ify-header--portal .ify-mobile__quick a {
        background: #f1f1f1;
        color: #4a4a4a;
    }

    html.theme-white .ify-header--portal .ify-mobile__search form i {
        color: #b3b3b3;
    }

    .ify-header--portal .ify-header__top,
    .ify-header--portal .ify-header__sub {
        display: none;
    }

    .ify-header--portal .ify-mobile,
    .ify-header--portal .ify-mobile-toggle,
    .ify-header--portal .ify-drawer {
        display: block;
    }

    .ify-header--portal .ify-drawer {
        visibility: hidden;
        opacity: 0;
    }

    .ify-header--portal .ify-drawer.is-open {
        visibility: visible;
        opacity: 1;
    }

    .ify-header--portal .ify-mobile__bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 56px;
    }

    .ify-header--portal .ify-mobile__search {
        padding: 0 0 12px;
    }

    .ify-header--portal .ify-mobile__search form {
        position: relative;
        display: flex;
        align-items: center;
        gap: 10px;
        height: 40px;
        width: 100%;
        padding: 0 10px 0 34px;
        border-radius: 999px;
        background: #292929;
    }

    .ify-header--portal .ify-mobile__search form i {
        position: absolute;
        left: 12px;
        color: #7f7f7f;
    }

    .ify-header--portal .ify-mobile__search button {
        border: 0;
        background: transparent;
        color: var(--ify-portal-blue);
    }

    .ify-header--portal .ify-mobile__quick {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 0 0 14px;
    }

    .ify-header--portal .ify-mobile__quick a {
        flex: 0 0 auto;
        min-height: 32px;
        padding: 0 12px;
        border-radius: 999px;
        background: #242424;
        color: #d3d3d3;
        text-decoration: none;
        line-height: 32px;
        font-size: 12px;
    }

    .ify-home--portal {
        width: var(--ify-portal-shell);
        padding-top: 14px;
    }

    .ify-header--portal .ify-search .mac_results {
        width: min(320px, calc(100vw - 32px));
        min-width: 0;
    }

    .ify-home--portal .ify-home-hero__image,
    .ify-home--portal .ify-home-hero__slide {
        min-height: 240px;
    }

    .ify-home--portal .ify-home-hero__overlay {
        padding: 18px 18px 16px;
    }

    .ify-home--portal .ify-home-hero__overlay h1 {
        font-size: 22px;
    }

    .ify-home-hot__grid,
    .ify-home-floor__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
        transform: none !important;
    }

    .ify-home-hot__grid {
        flex-wrap: initial;
        transition: none;
    }

    .ify-home-hot__grid .ify-poster-card {
        flex: initial;
    }

    .ify-home-block__head,
    .ify-home-floor__tags,
    .ify-footer--portal .ify-footer__topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .ify-home-block__title h2 {
        font-size: 20px;
    }

    .ify-page-shell--portal {
        padding-top: 14px;
    }

    .ify-page-hero--portal,
    .ify-review-feature,
    .ify-review-aside-grid,
    .ify-website-table__head,
    .ify-website-row,
    .ify-portal-filter-line {
        grid-template-columns: 1fr;
    }

    .ify-page-hero--portal {
        padding: 20px 18px;
    }

    .ify-page-hero--portal .ify-page-hero__meta {
        justify-items: start;
    }

    .ify-portal-panel {
        padding: 18px 16px;
    }

    .ify-review-grid,
    .ify-article-grid,
    .ify-topic-grid,
    .ify-actor-grid--portal {
        grid-template-columns: 1fr;
    }

    .ify-review-card .review_card {
        grid-template-columns: 1fr;
    }

    .ify-website-table__head {
        display: none;
    }
}

@media screen and (max-width: 820px) {
    .ify-header--portal,
    html.theme-white .ify-header--portal {
        position: sticky;
        top: 0;
        background: var(--ify-portal-surface);
        border-bottom: 1px solid var(--ify-portal-line);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    html.theme-black .ify-header--portal,
    html.theme-black .ify-header.is-solid .ify-mobile__bar,
    html.theme-black .ify-header.is-solid .ify-mobile__quick,
    html.theme-black .ify-header--portal .ify-mobile,
    html.theme-black .ify-header--portal .ify-mobile__search,
    html.theme-black .ify-header--portal .ify-mobile__quick,
    html.theme-black .ify-header--portal .ify-mobile__bar {
        background: #181818;
    }

    html.theme-white .ify-header--portal,
    html.theme-white .ify-header.is-solid .ify-mobile__bar,
    html.theme-white .ify-header.is-solid .ify-mobile__quick,
    html.theme-white .ify-header--portal .ify-mobile,
    html.theme-white .ify-header--portal .ify-mobile__search,
    html.theme-white .ify-header--portal .ify-mobile__quick,
    html.theme-white .ify-header--portal .ify-mobile__bar {
        background: #ffffff;
    }

    .ify-header--portal .ify-mobile,
    .ify-header--portal .ify-mobile__search,
    .ify-header--portal .ify-mobile__quick,
    html.theme-white .ify-header--portal .ify-mobile,
    html.theme-white .ify-header--portal .ify-mobile__search,
    html.theme-white .ify-header--portal .ify-mobile__quick {
        background: transparent;
    }

    .ify-header--portal .ify-mobile__bar,
    .ify-header--portal .ify-mobile__search,
    .ify-header--portal .ify-mobile__quick {
        width: calc(100vw - 24px);
        margin: 0 auto;
    }

    .ify-header--portal .ify-mobile__bar {
        min-height: 58px;
        padding: 0;
        column-gap: 10px;
        display: grid;
        grid-template-columns: minmax(92px, auto) minmax(0, 1fr) auto;
        align-items: center;
        min-width: 0;
        overflow: hidden;
    }

    .ify-header--portal .ify-mobile__brand img {
        max-height: 28px;
        max-width: 100%;
        object-fit: contain;
    }

    .ify-header--portal .ify-mobile__brand {
        display: flex;
        align-items: center;
        min-width: 0;
        max-width: 132px;
        overflow: hidden;
    }

    .ify-header--portal .ify-mobile__brand-light {
        display: block;
    }

    .ify-header--portal .ify-mobile__brand-dark {
        display: none;
    }

    html.theme-black .ify-header--portal .ify-mobile__brand-light {
        display: none;
    }

    html.theme-black .ify-header--portal .ify-mobile__brand-dark {
        display: block;
    }

    .ify-header--portal .ify-mobile__icon,
    html.theme-white .ify-header--portal .ify-mobile__icon {
        min-width: 34px;
        min-height: 34px;
        background: transparent;
        color: var(--ify-portal-muted);
    }

    .ify-header--portal .ify-mobile__search {
        width: 100%;
        min-width: 0;
        max-width: none;
        margin: 0;
        padding: 0;
        border-bottom: 0;
        overflow: hidden;
    }

    .ify-header--portal .ify-mobile__search form,
    html.theme-white .ify-header--portal .ify-mobile__search form {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
        height: 38px;
        padding: 0 6px 0 14px;
        border: 0;
        border-radius: 999px;
        background: var(--ify-portal-surface-2);
        box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.04);
    }

    .ify-header--portal .ify-mobile__search form i,
    html.theme-white .ify-header--portal .ify-mobile__search form i {
        display: none;
    }

    .ify-header--portal .ify-mobile__search input,
    html.theme-white .ify-header--portal .ify-mobile__search input {
        flex: 1 1 auto;
        min-width: 0;
        color: var(--ify-portal-text);
        font-size: 14px;
        text-overflow: ellipsis;
    }

    .ify-header--portal .ify-mobile__search button,
    html.theme-white .ify-header--portal .ify-mobile__search button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: auto;
        min-width: 58px;
        height: 30px;
        padding: 0 14px;
        margin-left: 6px;
        border: 0;
        border-radius: 999px;
        background: var(--ify-portal-accent);
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        line-height: 1;
        box-shadow: 0 8px 18px rgba(77, 116, 255, 0.2);
    }

    .ify-header--portal .ify-mobile__search button span {
        display: block;
        color: inherit;
    }

    .ify-header--portal .ify-mobile__actions {
        flex: 0 0 auto;
        min-width: max-content;
        gap: 6px;
    }

    .ify-header--portal .ify-mobile__quick {
        gap: 0;
        padding: 3px 0 3px 0;
        overflow: visible;
        scrollbar-width: none;
    }

    .ify-header--portal .ify-mobile__quick::-webkit-scrollbar {
        display: none;
    }

    .ify-header--portal .ify-mobile__quick a,
    html.theme-white .ify-header--portal .ify-mobile__quick a {
        min-height: auto;
        padding: 0 18px 0 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: var(--ify-portal-text);
        line-height: 1.4;
        font-size: 17px;
        white-space: nowrap;
        box-shadow: none;
    }

    html.theme-white .ify-header--portal .ify-mobile__search form,
    html.theme-white .ify-header--portal .ify-mobile__quick a {
        background: #ffffff;
    }

    .ify-header--portal .ify-mobile__quick-menu {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        width: 34px;
        height: 34px;
        margin-left: auto;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--ify-portal-muted);
    }

    html.theme-white,
    html.theme-white body,
    html.theme-white .ify-home-page--yfvod,
    html.theme-white .ify-portal-page {
        background: #f6f7fb !important;
        color: #1f1f1f;
    }

    .ify-home--portal,
    .ify-page-shell--portal {
        width: calc(100vw - 24px);
        max-width: none;
        padding-top: 16px;
        padding-bottom: 18px;
    }

    .ify-home--portal .ify-home-hero {
        margin-bottom: 22px;
    }

    .ify-home--portal .ify-home-hero__banner {
        border-radius: 28px;
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
    }

    .ify-home--portal .ify-home-hero__image,
    .ify-home--portal .ify-home-hero__slide {
        min-height: 460px;
    }

    .ify-home--portal .ify-home-hero__overlay {
        padding: 24px 22px 20px;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(10, 18, 32, 0.52) 62%, rgba(10, 18, 32, 0.76) 100%);
    }

    .ify-home--portal .ify-home-hero__crumb {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .ify-home--portal .ify-home-hero__overlay h1 {
        font-size: 26px;
        line-height: 1.2;
    }

    .ify-home--portal .ify-home-hero__overlay p {
        margin-bottom: 14px;
        font-size: 14px;
        line-height: 1.65;
    }

    .ify-home--portal .ify-home-hero__meta span {
        min-height: 34px;
        padding: 0 14px;
        font-size: 13px;
    }

    .ify-home-pillbar {
        gap: 14px 12px;
        padding: 16px 8px 0;
    }

    .ify-home-pillbar__item,
    html.theme-white .ify-home-pillbar__item {
        min-height: 46px;
        padding: 0 18px;
        background: #fff;
        color: #444;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    }

    .ify-home-block__head {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 14px;
    }

    .ify-home-block__title {
        min-width: 0;
        gap: 8px;
    }

    .ify-home-block__title h2 {
        font-size: 22px;
        line-height: 1.25;
    }

    .ify-home-block__title span,
    .ify-home-block__more {
        font-size: 12px;
    }

    .ify-home-hot__controls {
        margin-left: auto;
    }

    .ify-home-hot__control,
    html.theme-white .ify-home-hot__control {
        background: #fff;
        color: #4a4a4a;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    }

    .ify-home-hot__grid,
    .ify-home-floor__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
        transform: none !important;
    }

    .ify-home-hot__grid {
        flex-wrap: initial;
        transition: none;
    }

    .ify-home-hot__grid .ify-poster-card {
        flex: initial;
    }

    .ify-home-floor {
        margin-bottom: 28px;
    }

    .ify-home-floor__tags,
    .ify-portal-tags,
    .ify-portal-toolbar {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
        margin-left: 0;
    }

    .ify-home-floor__morelink {
        margin-left: 0;
        order: 0;
    }

    .ify-home-floor__tags a,
    .ify-portal-tags a,
    .ify-portal-tags span,
    .ify-portal-toolbar a,
    html.theme-white .ify-home-floor__tags a,
    html.theme-white .ify-portal-tags a,
    html.theme-white .ify-portal-tags span,
    html.theme-white .ify-portal-toolbar a {
        min-height: 30px;
        padding: 0 16px;
        border-radius: 999px;
        background: #f1f3f7;
        color: #50576a;
        font-size: 14px;
    }

    .ify-page-hero--portal,
    .ify-portal-panel,
    html.theme-white .ify-page-hero--portal,
    html.theme-white .ify-portal-panel {
        border: 1px solid rgba(15, 23, 42, 0.05);
        border-radius: 15px;
        background: #fff;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    }

    .ify-page-hero--portal {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 28px 22px;
        margin-bottom: 18px;
    }

    .ify-page-hero--portal .ify-page-hero__eyebrow {
        min-height: 34px;
        padding: 0 16px;
        font-size: 14px;
        letter-spacing: 0;
        text-transform: none;
    }

    .ify-page-hero--portal .ify-page-hero__copy h1 {
        margin: 10px 0 12px;
        font-size: 28px;
        line-height: 1.2;
        color: #1f1f1f;
    }

    .ify-page-hero--portal .ify-page-hero__copy p,
    .ify-page-hero--portal .ify-page-hero__meta > span {
        color: #8c93a3;
        font-size: 14px;
        line-height: 1.8;
    }

    .ify-page-hero--portal .ify-page-hero__meta {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-items: start;
        gap: 12px;
    }

    .ify-page-hero--portal .ify-page-hero__meta strong {
        font-size: 34px;
        color: #1f1f1f;
    }

    .ify-portal-panel {
        padding: 20px 18px 22px;
        margin-bottom: 18px;
    }

    .ify-portal-filter-grid {
        gap: 12px;
    }

    .ify-portal-filter-line {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ify-portal-filter-line > span {
        min-height: auto;
        color: #8c93a3;
        font-size: 14px;
    }

    .ify-poster-card__poster {
        border-radius: 18px;
    }

    .ify-poster-card__poster .lazyload,
    .ify-poster-card__poster img,
    .ify-poster-card__poster::before {
        border-radius: 18px;
    }

    .ify-poster-card__body {
        padding: 10px 2px 0;
    }

    .ify-poster-card__title {
        font-size: 16px;
        line-height: 1.45;
    }

    .ify-poster-card__meta {
        font-size: 13px;
        line-height: 1.55;
    }

    .ify-review-grid,
    .ify-article-grid,
    .ify-topic-grid,
    .ify-map-grid,
    .ify-actor-grid--portal {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ify-review-card .review_card,
    .ify-review-feature,
    .ify-review-aside-grid,
    .ify-website-row {
        grid-template-columns: 1fr;
    }

    .ify-footer--portal,
    html.theme-white .ify-footer--portal {
        margin-top: 20px;
        padding: 18px 0 92px;
        background: transparent !important;
        border-top: 0;
    }

    .ify-footer--portal .ify-footer__shell {
        width: calc(100vw - 24px);
    }

    .ify-footer--portal .ify-footer__topline {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .ify-footer--portal .ify-footer__links {
        gap: 8px 14px;
    }

    .ify-channel-mobile-hero {
        position: relative;
        overflow: hidden;
        border-radius: 24px;
        margin-bottom: 20px;
    }

    .ify-channel-mobile-hero:not(:has(.ify-channel-mobile-hero__slide)) {
        border-radius: 0;
        margin-bottom: 8px;
    }

    .ify-channel-mobile-hero:not(:has(.ify-channel-mobile-hero__slide)):not(:has(.ify-channel-mobile-hero__tags a)) {
        display: none;
    }

    .ify-channel-mobile-hero__slider {
        position: relative;
        display: flex;
        margin-bottom: 16px;
        touch-action: pan-y;
        transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: transform;
    }

    .ify-channel-mobile-hero__slider:empty {
        display: none;
        margin: 0;
    }

    .ify-channel-mobile-hero:not(:has(.ify-channel-mobile-hero__tags a)) .ify-channel-mobile-hero__slider {
        margin-bottom: 0;
    }

    .ify-channel-mobile-hero__slider.is-dragging {
        transition: none;
    }

    .ify-channel-mobile-hero__slider.is-jumping {
        transition: none !important;
    }

    .ify-channel-mobile-hero__slide {
        position: relative;
        display: block;
        flex: 0 0 100%;
        width: 100%;
        min-height: 0;
        aspect-ratio: 16 / 9.5;
        border-radius: 24px;
        overflow: hidden;
        background: var(--ify-portal-surface-2);
    }

    .ify-channel-mobile-hero__slider:not(.is-ready) .ify-channel-mobile-hero__slide {
        display: none;
    }

    .ify-channel-mobile-hero__slider:not(.is-ready) .ify-channel-mobile-hero__slide:first-child {
        display: block;
    }

    .ify-channel-mobile-hero__poster,
    .ify-channel-mobile-hero__poster img {
        display: block;
        width: 100%;
        height: 100%;
    }

    .ify-channel-mobile-hero__poster img {
        object-fit: cover !important;
        object-position: center 22% !important;
    }

    .ify-channel-mobile-hero__overlay {
        position: absolute;
        inset: auto 0 0 0;
        padding: 16px 18px 14px;
        background: linear-gradient(180deg, rgba(8, 14, 24, 0) 0%, rgba(8, 14, 24, 0.46) 52%, rgba(8, 14, 24, 0.78) 100%);
        color: #fff;
    }

    .ify-channel-mobile-hero__poster {
        height: 100%;
    }

    .ify-channel-mobile-hero__crumb {
        display: inline-flex;
        align-items: center;
        min-height: 30px;
        padding: 0 12px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.18);
        font-size: 13px;
    }

    .ify-channel-mobile-hero__overlay h2 {
        margin: 10px 0 6px;
        color: #fff;
        font-size: 20px;
        line-height: 1.25;
    }

    .ify-channel-mobile-hero__overlay p {
        margin: 0;
        color: rgba(255, 255, 255, 0.88);
        font-size: 13px;
        line-height: 1.55;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .ify-channel-mobile-hero__dots {
        position: absolute;
        right: 18px;
        bottom: 86px;
        z-index: 3;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .ify-channel-mobile-hero__dots button {
        width: 6px;
        height: 18px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.54);
        transition: width 0.24s ease, background 0.24s ease, transform 0.24s ease;
    }

    .ify-channel-mobile-hero__dots button.is-active {
        width: 18px;
        background: #34c3ff;
    }

    .ify-channel-mobile-hero__tags {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 2px 6px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .ify-channel-mobile-hero:not(:has(.ify-channel-mobile-hero__slide)) .ify-channel-mobile-hero__tags {
        padding-bottom: 2px;
    }

    .ify-channel-mobile-hero__tags::-webkit-scrollbar {
        display: none;
    }

    .ify-channel-mobile-hero__tags a {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 0 20px;
        border-radius: 999px;
        background: #fff;
        color: #4a4f5e;
        text-decoration: none;
        font-size: 15px;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
        white-space: nowrap;
    }

    .ify-channel-all-link.show-mobile {
        display: inline-flex !important;
        flex: 0 0 auto;
        margin-left: auto;
    }

    .ify-channel-page .ify-header--portal .ify-mobile__bar {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
    }

    .ify-channel-page .ify-header--portal .ify-mobile__search--inline {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        max-width: none;
    }

    .ify-channel-page .ify-header--portal .ify-mobile__actions {
        display: inline-flex;
        align-items: center;
        flex: 0 0 auto;
        min-width: max-content;
        gap: 8px;
    }

    .ify-channel-page .ify-header--portal .ify-mobile__actions .ify-mobile__icon {
        min-width: 32px;
        min-height: 32px;
        color: #6b7280;
    }

    .ify-channel-page .ify-header--portal .ify-mobile__actions .ify-mobile__icon i {
        font-size: 22px;
    }

    .ify-channel-page .ify-page-hero--portal {
        display: none;
    }

    body.ify-show-page,
    html.theme-white body.ify-show-page,
    html.theme-black body.ify-show-page {
        padding-top: 0 !important;
    }

    .ify-show-page .ify-page-shell--portal {
        padding-top: 0;
    }

    .ify-channel-page .ify-pagination {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        width: 100%;
        margin-top: 18px;
    }

    .ify-channel-page .ify-pagination a {
        flex: 1 1 0;
        min-width: 0;
        min-height: 34px;
        padding: 0 8px;
        border-radius: 999px;
        font-size: 12px;
        line-height: 1;
        white-space: nowrap;
    }

    .ify-channel-page .ify-pagination a.is-current {
        flex: 0 0 40px;
        min-width: 40px;
        padding: 0;
    }

    .ify-show-page .ify-page-hero--portal {
        display: none;
    }

    .ify-show-page .ify-portal-panel--filters {
        padding: 12px;
        border-radius: 14px;
    }

    html.theme-white .ify-show-page .ify-portal-panel--filters,
    html.theme-black .ify-show-page .ify-portal-panel--filters {
        border-radius: 14px;
    }

    .ify-show-page .ify-portal-panel--filters .ify-home-block__head {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 10px;
    }

    .ify-show-page .ify-portal-panel--filters .ify-home-block__title {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    .ify-show-page .ify-portal-panel--filters .ify-home-block__title i {
        flex: 0 0 auto;
        font-size: 18px;
    }

    .ify-show-page .ify-portal-panel--filters .ify-home-block__title h2 {
        font-size: 18px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .ify-show-page .ify-portal-panel--filters .ify-portal-tags {
        align-items: center;
        flex: 0 0 auto;
        width: auto;
        margin-left: auto;
        gap: 6px;
    }

    .ify-show-page .ify-portal-panel--filters .ify-portal-tags a,
    .ify-show-page .ify-portal-panel--filters .ify-portal-tags span {
        min-height: 32px;
        padding: 0 12px;
        font-size: 13px;
    }

    .ify-show-page .ify-portal-panel--filters .ify-portal-filter-line {
        gap: 8px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    }

    .ify-show-page .ify-portal-panel--filters .ify-portal-filter-line:last-child {
        border-bottom: 0;
    }

    .ify-show-page .ify-portal-panel--filters .ify-portal-filter-line > span {
        font-size: 16px;
        font-weight: 600;
        color: #5d6475;
    }

    .ify-show-page .ify-portal-panel--filters .ify-portal-toolbar {
        justify-content: space-between;
        gap: 0;
        margin-top: 18px;
        padding-top: 10px;
        border-top: 1px solid rgba(15, 23, 42, 0.06);
    }

    .ify-show-page .ify-portal-panel--filters .ify-portal-toolbar a {
        flex: 1 1 0;
        justify-content: center;
        min-height: 42px;
        background: transparent;
        color: #202532;
        box-shadow: none;
    }

    .ify-show-page .ify-portal-panel--filters .ify-portal-toolbar a.is-current {
        color: #1fb6ff;
        background: transparent;
    }

    .ify-show-page .ify-portal-panel--filters .ify-portal-toolbar a.is-current:after {
        content: "";
        position: absolute;
        left: 24px;
        right: 24px;
        bottom: -10px;
        height: 4px;
        border-radius: 999px;
        background: #1fb6ff;
    }

    .ify-show-page .ify-portal-panel.ify-panel--filter .ify-home-floor__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px 14px;
    }

    .ify-show-page .ify-portal-panel.ify-panel--filter .ify-home-block__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .ify-show-page .ify-portal-panel.ify-panel--filter .ify-portal-tags--selected {
        margin-bottom: 16px;
    }

    .ify-show-page .ify-pagination {
        justify-content: flex-end;
    }

    .ify-search-page .ify-page-hero--portal,
    .ify-latest-page .ify-page-hero--portal {
        padding: 22px 20px;
        margin-bottom: 16px;
    }

    .ify-search-page .ify-page-hero--portal .ify-page-hero__copy h1,
    .ify-latest-page .ify-page-hero--portal .ify-page-hero__copy h1 {
        margin: 8px 0 8px;
        font-size: 22px;
        line-height: 1.3;
    }

    .ify-search-page .ify-page-hero--portal .ify-page-hero__copy p,
    .ify-latest-page .ify-page-hero--portal .ify-page-hero__copy p {
        font-size: 13px;
        line-height: 1.7;
    }

    .ify-search-page .ify-page-hero--portal .ify-page-hero__meta strong,
    .ify-latest-page .ify-page-hero--portal .ify-page-hero__meta strong {
        font-size: 28px;
    }

    .ify-search-page .ify-portal-panel .ify-home-block__head,
    .ify-latest-page .ify-portal-panel .ify-home-block__head {
        align-items: center;
    }

    .ify-show-page .ify-portal-panel--filters .vod_all {
        border: 0 !important;
        box-shadow: none;
        background: transparent !important;
        padding-bottom: 0;
    }

    .ify-show-page .ify-portal-panel--filters .listnow {
        display: none;
    }

    .ify-show-page .ify-portal-panel--filters .list_type_title {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        --ify-filter-label-width: 84px;
        --ify-filter-label-gap: 8px;
        gap: 8px;
        overflow: visible;
        position: static;
        margin: 0;
        padding: 0 0 10px;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }

    .ify-show-page .ify-portal-panel--filters .list_type_title .sx_title,
    .ify-show-page .ify-portal-panel--filters .list_type_title .sx_title2 {
        margin: 0;
        color: #202532;
    }

    .ify-show-page .ify-portal-panel--filters .list_type_title .sx_title2 {
        float: none;
        min-width: 0;
        padding: 0;
        border-radius: 0;
        background: transparent !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.2;
    }

    .ify-show-page .ify-portal-panel--filters .list_type_title .sx_txt {
        display: flex;
        flex-wrap: wrap;
        grid-column: 1 / -1;
        gap: 6px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .ify-show-page .ify-portal-panel--filters .list_type_title .sx_txt:empty {
        display: none;
    }

    .ify-show-page .ify-portal-panel--filters .list_type_title .sx_txt li {
        display: inline-flex;
        align-items: center;
        min-height: 28px;
        padding: 0 10px;
        border-radius: 999px;
        background: #eef4ff;
        color: #3b82c4;
        font-size: 12px;
    }

    .ify-show-page .ify-portal-panel--filters .list_type_title .sx_txt li em {
        margin-right: 4px;
        font-style: normal;
    }

    .ify-show-page .ify-portal-panel--filters .list_type_title > span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        float: none;
        position: static;
        right: auto;
        line-height: 1;
        justify-self: end;
    }

    .ify-show-page .ify-portal-panel--filters .list_type_title > span a {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        min-height: 28px;
        padding: 0 4px;
        border-radius: 0;
        background: transparent;
        color: #556070;
        font-size: 12px;
        line-height: 1;
        text-decoration: none;
    }

    .ify-show-page .ify-portal-panel--filters .list_type_title > span a i {
        font-size: 16px;
    }

    .ify-show-page .ify-filter-toggle {
        width: 32px;
        height: 32px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: var(--ify-portal-surface-2) !important;
        color: #5b6473;
    }

    html.theme-white .ify-show-page .ify-filter-toggle {
        background: #f1f3f7 !important;
        color: #50576a;
    }

    .ify-show-page .ify-filter-toggle span {
        display: block;
        width: 7px;
        height: 7px;
        min-height: 0;
        padding: 0;
        border-radius: 0;
        background: transparent !important;
    }

    .ify-show-page .ify-portal-panel--filters .ify-portal-tags .ify-filter-toggle span {
        display: block;
        width: 7px;
        height: 7px;
        min-height: 0;
        padding: 0;
        border-radius: 0;
        background: transparent !important;
    }

    .ify-show-page .ify-filter-toggle span::before {
        inset: 0;
        width: 7px;
        height: 7px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        border-radius: 0;
        background: transparent;
        transform: rotate(45deg);
        transform-origin: center;
    }

    .ify-show-page .ify-filter-toggle span::after {
        display: none;
        content: none;
    }

    .ify-show-page .ify-portal-panel--filters .wrapper_fl {
        margin: 0;
        padding: 5px 0;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        overflow: visible;
    }

    .ify-show-page .ify-portal-panel--filters .wrapper_fl:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .ify-show-page .ify-portal-panel--filters .scroller {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 !important;
    }

    .ify-show-page .ify-portal-panel--filters .scroller::-webkit-scrollbar {
        display: none;
    }

    .ify-show-page .ify-portal-panel--filters .screen_list {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 6px;
        width: max-content;
        min-width: 100%;
        min-height: 0;
        height: auto;
        margin: 0;
        padding: 0 8px 0 0;
        list-style: none;
        box-sizing: border-box;
    }

    .ify-show-page .ify-portal-panel--filters .screen_list.clearfix::before,
    .ify-show-page .ify-portal-panel--filters .screen_list.clearfix::after {
        display: none !important;
        content: none !important;
    }

    .ify-show-page .ify-portal-panel--filters .screen_list li {
        margin: 0;
        padding: 0;
    }

    .ify-show-page .ify-portal-panel--filters .screen_list li.text {
        display: none;
    }

    .ify-show-page .ify-portal-panel--filters .screen_list li.text span {
        display: inline-flex;
        align-items: center;
        min-height: 24px;
        color: #5d6475;
        font-size: 15px;
        font-weight: 600;
    }

    .ify-show-page .ify-portal-panel--filters .screen_list li:empty {
        display: none;
    }

    .ify-show-page .ify-portal-panel--filters .screen_list li a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 28px;
        padding: 0 10px;
        border: 0;
        border-radius: 999px;
        background: #f2f4f7;
        color: #50576a;
        text-decoration: none;
        font-size: 12px;
        line-height: 1;
        white-space: nowrap;
    }

    .ify-show-page .ify-portal-panel--filters .screen_list li.hl a,
    .ify-show-page .ify-portal-panel--filters .screen_list li.hl_fl a,
    .ify-show-page .ify-portal-panel--filters .screen_list li[class*="tplconfig-"] a {
        background: var(--ify-portal-accent) !important;
        color: #fff !important;
        box-shadow: none;
    }

    .ify-show-page .ify-portal-panel.ify-panel--filter .ify-home-block__head {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .ify-show-page .ify-portal-panel.ify-panel--filter .ify-home-block__title h2 {
        font-size: 20px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .ify-show-page .ify-portal-panel.ify-panel--filter .ify-portal-toolbar {
        display: flex;
        flex: 0 0 auto;
        width: auto;
        gap: 6px;
        margin-top: 0;
    }

    .ify-show-page .ify-portal-panel.ify-panel--filter .ify-portal-toolbar a,
    .ify-show-page .ify-portal-panel.ify-panel--filter .ify-portal-toolbar a.is-current {
        position: static;
        min-height: 32px;
        justify-content: center;
        padding: 0 10px;
        border-radius: 999px;
        background: #f2f4f7;
        color: #202532;
        font-size: 12px;
    }

    .ify-show-page .ify-portal-panel.ify-panel--filter .ify-portal-toolbar a.is-current {
        background: var(--ify-portal-accent);
        color: #fff;
    }

    .ify-show-page .ify-portal-panel.ify-panel--filter .ify-portal-toolbar a.is-current:after {
        display: none;
    }

    .ify-show-page .ify-portal-panel.ify-panel--filter .ify-portal-tags--selected {
        gap: 8px;
        margin-bottom: 14px;
    }

    .ify-show-page .ify-portal-panel.ify-panel--filter .ify-portal-tags--selected span {
        min-height: 28px;
        padding: 0 10px;
        border-radius: 999px;
        background: #eef4ff;
        color: #4a6785;
        font-size: 12px;
    }

    .ify-show-page .ify-portal-panel.ify-panel--filter .ify-home-floor__grid,
    .ify-latest-page .ify-home-floor__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
    }

    body.ify-map-page,
    body.ify-latest-page,
    body.ify-rank-page,
    html.theme-white body.ify-map-page,
    html.theme-white body.ify-latest-page,
    html.theme-white body.ify-rank-page,
    html.theme-black body.ify-map-page,
    html.theme-black body.ify-latest-page,
    html.theme-black body.ify-rank-page {
        padding-top: 0 !important;
    }

    .ify-map-page .ify-page-shell--portal,
    .ify-latest-page .ify-page-shell--portal,
    .ify-rank-page .ify-page-shell {
        padding-top: 8px !important;
    }

    html.theme-black .ify-home-floor__tags a,
    html.theme-black .ify-portal-tags a,
    html.theme-black .ify-portal-tags span,
    html.theme-black .ify-portal-toolbar a,
    html.theme-black .ify-channel-mobile-hero__tags a {
        background: #242424;
        color: rgba(255, 255, 255, 0.82);
        box-shadow: none;
    }

    html.theme-black .ify-show-page .ify-filter-toggle {
        background: #242424 !important;
        color: rgba(255, 255, 255, 0.82);
        box-shadow: none;
    }

    html.theme-black .ify-page-hero--portal,
    html.theme-black .ify-portal-panel {
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: #1b1b1b;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    }

    html.theme-black .ify-page-hero--portal .ify-page-hero__copy h1,
    html.theme-black .ify-page-hero--portal .ify-page-hero__meta strong,
    html.theme-black .ify-show-page .ify-portal-panel--filters .list_type_title .sx_title,
    html.theme-black .ify-show-page .ify-portal-panel--filters .list_type_title .sx_title2,
    html.theme-black .ify-show-page .ify-portal-panel.ify-panel--filter .ify-portal-toolbar a,
    html.theme-black .ify-show-page .ify-portal-panel.ify-panel--filter .ify-portal-toolbar a.is-current {
        color: rgba(255, 255, 255, 0.92);
    }

    html.theme-black .ify-page-hero--portal .ify-page-hero__copy p,
    html.theme-black .ify-page-hero--portal .ify-page-hero__meta > span,
    html.theme-black .ify-portal-filter-line > span,
    html.theme-black .ify-show-page .ify-portal-panel--filters .list_type_title > span a,
    html.theme-black .ify-show-page .ify-portal-panel--filters .screen_list li.text span {
        color: rgba(255, 255, 255, 0.58);
    }

    html.theme-black .ify-show-page .ify-portal-panel--filters .ify-portal-filter-line,
    html.theme-black .ify-show-page .ify-portal-panel--filters .wrapper_fl,
    html.theme-black .ify-show-page .ify-portal-panel--filters .list_type_title,
    html.theme-black .ify-show-page .ify-portal-panel--filters .ify-portal-toolbar {
        border-color: rgba(255, 255, 255, 0.08);
    }

    html.theme-black .ify-show-page .ify-portal-panel--filters .screen_list li a,
    html.theme-black .ify-show-page .ify-portal-panel--filters .list_type_title > span a,
    html.theme-black .ify-show-page .ify-portal-panel.ify-panel--filter .ify-portal-toolbar a,
    html.theme-black .ify-show-page .ify-portal-panel.ify-panel--filter .ify-portal-tags--selected span {
        background: #242424;
        color: rgba(255, 255, 255, 0.82);
    }

    html.theme-black .ify-show-page .ify-portal-panel--filters .screen_list li.hl a,
    html.theme-black .ify-show-page .ify-portal-panel--filters .screen_list li.hl_fl a,
    html.theme-black .ify-show-page .ify-portal-panel--filters .screen_list li[class*="tplconfig-"] a,
    html.theme-black .ify-show-page .ify-portal-panel.ify-panel--filter .ify-portal-toolbar a.is-current {
        background: var(--ify-portal-accent) !important;
        color: #fff !important;
    }

    html.theme-black .ify-channel-page .ify-mobile__icon,
    html.theme-black .ify-channel-page .ify-mobile__quick a,
    html.theme-black .ify-channel-page .ify-mobile__quick-menu,
    html.theme-black .ify-channel-page .ify-mobile__search input,
    html.theme-black .ify-channel-page .ify-mobile__search form i,
    html.theme-black .ify-channel-page .ify-mobile__search button {
        color: rgba(255, 255, 255, 0.82);
    }

    html.theme-black .ify-channel-page .ify-mobile__search form {
        background: #242424;
    }

    .ify-search-page .ify-search-list {
        gap: 10px;
    }

    body.ify-search-page {
        padding-top: 0 !important;
    }

    .ify-search-page .ify-page-hero--portal {
        display: block;
        padding: 14px 16px !important;
        margin-bottom: 12px;
    }

    .ify-search-page .ify-page-hero--portal .ify-page-hero__copy h1 {
        margin: 0;
        font-size: 18px !important;
        line-height: 1.45;
        white-space: normal;
    }

    .ify-search-page .ify-page-hero--portal .ify-page-hero__copy p,
    .ify-search-page .ify-page-hero--portal .ify-page-hero__eyebrow,
    .ify-search-page .ify-page-hero--portal .ify-page-hero__meta {
        display: none !important;
    }

    .ify-search-page .ify-search-card {
        display: grid;
        grid-template-columns: 128px minmax(0, 1fr);
        gap: 12px;
        min-height: 0;
        padding: 10px;
        align-items: center;
    }

    .ify-search-page .ify-search-card__poster {
        width: 128px !important;
        min-height: 0 !important;
        height: 192px !important;
        aspect-ratio: 2 / 3;
        border-radius: 14px;
        overflow: hidden;
        background-size: contain !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

    .ify-search-page .ify-search-card__poster::before {
        border-radius: 16px;
    }

    .ify-search-page .ify-search-card__body {
        min-width: 0;
        padding: 0;
    }

    .ify-search-page .ify-search-card__title {
        margin-bottom: 6px;
        font-size: 16px;
        line-height: 1.4;
    }

    .ify-search-page .ify-search-card__meta {
        margin-bottom: 6px;
        font-size: 12px;
        line-height: 1.65;
        color: #8490a3;
    }

    .ify-search-page .ify-search-card__desc {
        font-size: 13px;
        line-height: 1.6;
        color: #5e677a;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .ify-search-page .ify-search-card__actions {
        margin-top: 6px;
    }

    .ify-search-page .ify-search-card__actions a {
        display: inline-flex;
        align-items: center;
        min-height: 32px;
        padding: 0 11px;
        border-radius: 999px;
        background: #eef4ff;
        color: #2878ba;
        font-size: 13px;
        text-decoration: none;
    }

    .ify-search-page .ify-portal-panel {
        padding: 18px;
    }

    .ify-search-page .ify-portal-panel .ify-home-block__title {
        display: none;
    }

    .ify-search-page .ify-portal-panel .ify-home-block__head {
        justify-content: flex-end;
        margin-bottom: 12px;
    }

    .ify-search-page .ify-search-list__ad {
        overflow: hidden;
        border-radius: 20px;
    }

    .ify-show-page .page,
    .ify-search-page .page,
    .ify-latest-page .page {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin: 18px 0 0;
        padding: 0;
        list-style: none;
    }

    .ify-show-page .page li,
    .ify-search-page .page li,
    .ify-latest-page .page li {
        margin: 0;
        padding: 0;
    }

    .ify-show-page .page li a,
    .ify-show-page .page li span,
    .ify-search-page .page li a,
    .ify-search-page .page li span,
    .ify-latest-page .page li a,
    .ify-latest-page .page li span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 42px;
        min-height: 42px;
        padding: 0 14px;
        border-radius: 999px;
        background: #f2f4f7;
        color: #4d5566;
        text-decoration: none;
        font-size: 13px;
    }

    .ify-show-page .page li.active a,
    .ify-search-page .page li.active a,
    .ify-latest-page .page li.active a {
        background: var(--ify-portal-accent);
        color: #fff;
    }

    .ify-show-page .page li .btns_disad,
    .ify-search-page .page li .btns_disad,
    .ify-latest-page .page li .btns_disad {
        opacity: .48;
    }

    .ify-show-page .page_tips,
    .ify-search-page .page_tips,
    .ify-latest-page .page_tips {
        margin-top: 12px;
        color: #8a93a6;
        font-size: 12px;
        line-height: 1.7;
    }

    .ify-home-root--yfvod,
    .ify-home-root--yfvod body,
    .ify-home-page--yfvod,
    html.theme-white .ify-home-page--yfvod,
    html.theme-black .ify-home-page--yfvod {
        background: var(--ify-portal-bg) !important;
        background-image: none !important;
        color: var(--ify-portal-text);
    }

    body.ify-home-page--yfvod,
    html.ify-home-root--yfvod body.ify-home-page--yfvod,
    html.theme-white body.ify-home-page--yfvod,
    html.theme-black body.ify-home-page--yfvod {
        padding-top: 0 !important;
        min-height: 100vh;
        background: var(--ify-portal-bg) !important;
        background-image: none !important;
    }

    body.ify-home-page--yfvod::before,
    body.ify-home-page--yfvod::after,
    .ify-home-page--yfvod .ify-home--portal::before,
    .ify-home-page--yfvod .ify-home--portal::after {
        content: none !important;
        display: none !important;
    }

    .ify-home-page--yfvod .ify-header--portal,
    html.theme-white .ify-home-page--yfvod .ify-header--portal,
    html.theme-black .ify-home-page--yfvod .ify-header--portal {
        position: sticky;
        top: 0;
        background: var(--ify-portal-bg);
        border-bottom: 1px solid var(--ify-portal-line);
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .ify-home-page--yfvod .ify-header.is-solid .ify-mobile__bar,
    html.theme-white .ify-home-page--yfvod .ify-header.is-solid .ify-mobile__bar,
    html.theme-black .ify-home-page--yfvod .ify-header.is-solid .ify-mobile__bar {
        box-shadow: none;
    }

    .ify-home-page--yfvod .ify-footer--portal .ify-footer__topline {
        align-items: flex-start;
    }

    .ify-home-page--yfvod .ify-footer--portal .ify-footer__tools {
        align-self: flex-end;
        justify-content: flex-end;
        margin-left: auto;
    }

    .ify-home-page--yfvod .ify-footer--portal .ify-footer__tool--backtop {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(226, 240, 255, 0.96) 100%);
        color: var(--ify-portal-blue);
        transition: background 0.22s linear, color 0.22s linear, transform 0.22s linear;
    }

    .ify-home-page--yfvod .ify-footer--portal .ify-footer__tool--backtop:hover,
    .ify-home-page--yfvod .ify-footer--portal .ify-footer__tool--backtop:focus-visible {
        background: linear-gradient(135deg, #34c3ff 0%, #6f7cff 100%);
        color: #fff;
    }

    .ify-home-page--yfvod .ify-header--portal .ify-mobile,
    .ify-home-page--yfvod .ify-header--portal .ify-mobile__search,
    .ify-home-page--yfvod .ify-header--portal .ify-mobile__quick,
    html.theme-white .ify-home-page--yfvod .ify-header--portal .ify-mobile,
    html.theme-white .ify-home-page--yfvod .ify-header--portal .ify-mobile__search,
    html.theme-white .ify-home-page--yfvod .ify-header--portal .ify-mobile__quick,
    html.theme-black .ify-home-page--yfvod .ify-header--portal .ify-mobile,
    html.theme-black .ify-home-page--yfvod .ify-header--portal .ify-mobile__search,
    html.theme-black .ify-home-page--yfvod .ify-header--portal .ify-mobile__quick {
        background: transparent;
    }

    .ify-home-page--yfvod .ify-header--portal .ify-mobile__bar,
    .ify-home-page--yfvod .ify-header--portal .ify-mobile__quick {
        width: calc(100vw - 0px);
    }

    .ify-home-page--yfvod .ify-header--portal .ify-mobile__bar {
        min-height: 58px;
        column-gap: 10px;
        display: grid;
        grid-template-columns: minmax(92px, auto) minmax(0, 1fr) auto;
        align-items: center;
        min-width: 0;
        overflow: hidden;
    }

    .ify-home-page--yfvod .ify-header--portal .ify-mobile__brand {
        display: inline-flex;
        align-items: center;
        min-width: 0;
        max-width: 132px;
        overflow: hidden;
    }

    .ify-home-page--yfvod .ify-header--portal .ify-mobile__brand img {
        max-height: 30px;
        max-width: 100%;
        width: auto;
        object-fit: contain;
    }

    .ify-home-page--yfvod .ify-header--portal .ify-mobile__brand-light {
        display: block;
    }

    .ify-home-page--yfvod .ify-header--portal .ify-mobile__brand-dark {
        display: none;
    }

    html.theme-black .ify-home-page--yfvod .ify-header--portal .ify-mobile__brand-light {
        display: none;
    }

    html.theme-black .ify-home-page--yfvod .ify-header--portal .ify-mobile__brand-dark {
        display: block;
    }

    .ify-home-page--yfvod .ify-header--portal .ify-mobile__icon,
    html.theme-white .ify-home-page--yfvod .ify-header--portal .ify-mobile__icon,
    html.theme-black .ify-home-page--yfvod .ify-header--portal .ify-mobile__icon {
        min-width: 34px;
        min-height: 34px;
        padding: 0;
        border-radius: 0;
        background: transparent;
        color: var(--ify-portal-muted);
    }

    .ify-home-page--yfvod .ify-header--portal .ify-mobile__icon i {
        font-size: 24px;
    }

    .ify-home-page--yfvod .ify-header--portal .ify-mobile__search {
        width: 100%;
        min-width: 0;
        max-width: none;
        margin: 0;
        padding: 0;
        border-bottom: 0;
        overflow: hidden;
    }

    .ify-home-page--yfvod .ify-header--portal .ify-mobile__search--inline {
        width: auto;
        min-width: 0;
        flex: 1 1 auto;
        max-width: none;
        margin: 0;
    }

    .ify-home-page--yfvod .ify-header--portal .ify-mobile__search form,
    html.theme-white .ify-home-page--yfvod .ify-header--portal .ify-mobile__search form,
    html.theme-black .ify-home-page--yfvod .ify-header--portal .ify-mobile__search form {
        position: relative;
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        height: 38px;
        padding: 0 6px 0 14px;
        border: 0;
        border-radius: 999px;
        background: var(--ify-portal-surface-2);
        box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.04);
    }

    .ify-home-page--yfvod .ify-header--portal .ify-mobile__search form button,
    html.theme-white .ify-home-page--yfvod .ify-header--portal .ify-mobile__search form button,
    html.theme-black .ify-home-page--yfvod .ify-header--portal .ify-mobile__search form button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: auto;
        min-width: 58px;
        height: 30px;
        padding: 0 14px;
        margin-left: 6px;
        border: 0;
        border-radius: 999px;
        background: var(--ify-portal-accent);
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        line-height: 1;
        box-shadow: 0 8px 18px rgba(77, 116, 255, 0.2);
    }

    .ify-home-page--yfvod .ify-header--portal .ify-mobile__search form i,
    html.theme-white .ify-home-page--yfvod .ify-header--portal .ify-mobile__search form i,
    html.theme-black .ify-home-page--yfvod .ify-header--portal .ify-mobile__search form i {
        display: none;
    }

    .ify-home-page--yfvod .ify-header--portal .ify-mobile__search input,
    html.theme-white .ify-home-page--yfvod .ify-header--portal .ify-mobile__search input,
    html.theme-black .ify-home-page--yfvod .ify-header--portal .ify-mobile__search input {
        flex: 1 1 auto;
        min-width: 0;
        height: 100%;
        color: var(--ify-portal-text);
        font-size: 14px;
        text-overflow: ellipsis;
    }

    .ify-home-page--yfvod .ify-header--portal .ify-mobile__search button,
    html.theme-white .ify-home-page--yfvod .ify-header--portal .ify-mobile__search button,
    html.theme-black .ify-home-page--yfvod .ify-header--portal .ify-mobile__search button {
        flex: 0 0 auto;
        margin-left: 6px;
    }

    .ify-home-page--yfvod .ify-header--portal .ify-mobile__search button span,
    html.theme-white .ify-home-page--yfvod .ify-header--portal .ify-mobile__search button span,
    html.theme-black .ify-home-page--yfvod .ify-header--portal .ify-mobile__search button span {
        display: block;
        color: inherit;
    }

    .ify-home-page--yfvod .ify-header--portal .ify-mobile__search input::placeholder,
    html.theme-white .ify-home-page--yfvod .ify-header--portal .ify-mobile__search input::placeholder,
    html.theme-black .ify-home-page--yfvod .ify-header--portal .ify-mobile__search input::placeholder {
        color: var(--ify-portal-muted);
    }

    .ify-home-page--yfvod .ify-header--portal .ify-mobile__quick {
        display: flex;
        align-items: center;
        gap: 0;
        width: calc(100vw - 8px);
        margin: 0 auto;
        padding: 3px 0 3px 0;
        overflow: visible;
        border-bottom: 0;
    }

    .ify-home-page--yfvod .ify-header--portal .ify-mobile__quick a,
    html.theme-white .ify-home-page--yfvod .ify-header--portal .ify-mobile__quick a,
    html.theme-black .ify-home-page--yfvod .ify-header--portal .ify-mobile__quick a {
        flex: 0 0 auto;
        min-height: auto;
        padding: 0 18px 0 0;
        border-radius: 0;
        background: transparent;
        color: var(--ify-portal-text);
        line-height: 1.4;
        font-size: 17px;
        text-align: left;
        box-shadow: none;
    }

    .ify-home-page--yfvod .ify-header--portal .ify-mobile__quick-menu {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        margin-left: auto;
        width: 34px;
        height: 34px;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--ify-portal-muted);
    }

    .ify-home-page--yfvod .ify-header--portal .ify-mobile__actions {
        display: inline-flex;
        align-items: center;
        justify-self: end;
        flex: 0 0 auto;
        min-width: max-content;
        gap: 8px;
    }

    .ify-home-page--yfvod .ify-header--portal .ify-mobile__actions .ify-mobile__icon {
        min-width: 30px;
        min-height: 30px;
    }

    .ify-home-page--yfvod .ify-drawer__panel,
    .ify-channel-page .ify-drawer__panel,
    .ify-portal-page .ify-drawer__panel {
        background: #ffffff;
    }

    .ify-home-page--yfvod .ify-drawer__item,
    .ify-home-page--yfvod .ify-drawer__pill,
    .ify-channel-page .ify-drawer__item,
    .ify-channel-page .ify-drawer__pill,
    .ify-portal-page .ify-drawer__item,
    .ify-portal-page .ify-drawer__pill {
        background: rgba(111, 124, 255, 0.06);
        color: var(--ify-portal-text);
    }

    .ify-home-page--yfvod .ify-drawer__item.is-current,
    .ify-home-page--yfvod .ify-drawer__pill:hover,
    .ify-channel-page .ify-drawer__item.is-current,
    .ify-channel-page .ify-drawer__pill:hover,
    .ify-portal-page .ify-drawer__item.is-current,
    .ify-portal-page .ify-drawer__pill:hover {
        background: rgba(111, 124, 255, 0.14);
        color: #4f46e5;
    }

    .ify-home-page--yfvod .ify-drawer__mode,
    .ify-channel-page .ify-drawer__mode,
    .ify-portal-page .ify-drawer__mode {
        border-color: rgba(111, 124, 255, 0.22);
        background: #ffffff;
        color: var(--ify-portal-text);
    }

    .ify-home-page--yfvod .foot_mnav .foot_rows a.active,
    .ify-channel-page .foot_mnav .foot_rows a.active,
    .ify-portal-page .foot_mnav .foot_rows a.active,
    body.ify-play-page .foot_mnav .foot_rows a.active {
        color: #6f7cff !important;
    }

    .ify-home-page--yfvod .foot_mnav .foot_rows a.active i,
    .ify-channel-page .foot_mnav .foot_rows a.active i,
    .ify-portal-page .foot_mnav .foot_rows a.active i,
    body.ify-play-page .foot_mnav .foot_rows a.active i {
        color: #6f7cff !important;
    }

    .ify-home-page--yfvod .ify-header--portal .ify-mobile__quick-menu i {
        font-size: 22px;
    }

    .ify-home-page--yfvod .ify-home--portal {
        width: calc(100vw - 28px);
        padding-top: 14px;
        padding-bottom: 22px;
    }

    .ify-home-page--yfvod .ify-home--portal .ify-home-hero {
        margin-bottom: 10px;
    }

    .ify-home-page--yfvod .ify-home--portal .ify-home-hero__banner {
        border-radius: 16px;
        box-shadow: none;
    }

    .ify-home-page--yfvod .ify-home--portal .ify-home-hero__image,
    .ify-home-page--yfvod .ify-home--portal .ify-home-hero__slide {
        min-height: 210px;
    }

    .ify-home-page--yfvod .ify-home--portal .ify-home-hero__overlay {
        padding: 16px 16px 14px;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.26) 62%, rgba(0, 0, 0, 0.45) 100%);
    }

    .ify-home-page--yfvod .ify-home--portal .ify-home-hero__crumb {
        display: inline-flex;
        align-items: center;
        min-height: 20px;
        margin-bottom: 6px;
        padding: 0 8px;
        border-radius: 6px;
        background: rgba(0, 0, 0, 0.25);
        color: rgba(255, 255, 255, 0.9);
        font-size: 11px;
    }

    .ify-home-page--yfvod .ify-home--portal .ify-home-hero__overlay h1 {
        margin: 0 0 4px;
        font-size: 18px;
        line-height: 1.25;
        font-weight: 700;
    }

    .ify-home-page--yfvod .ify-home--portal .ify-home-hero__overlay p {
        margin: 0;
        font-size: 12px;
        line-height: 1.45;
        color: rgba(255, 255, 255, 0.88);
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .ify-home-page--yfvod .ify-home--portal .ify-home-hero__meta {
        display: none;
    }

    .ify-home-page--yfvod .ify-home--portal .ify-home-hero__dots {
        right: 16px;
        bottom: 28px;
        gap: 5px;
    }

    .ify-home-page--yfvod .ify-home--portal .ify-home-hero__dots button {
        width: 6px;
        height: 18px;
        background: rgba(255, 255, 255, 0.54);
    }

    .ify-home-page--yfvod .ify-home--portal .ify-home-hero__dots button.is-active {
        width: 18px;
        background: #34c3ff;
    }

    .ify-home-page--yfvod .ify-home-pillbar {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0;
        padding: 0;
        margin-top: 10px;
    }

    .ify-home-page--yfvod .ify-home-pillbar__item,
    html.theme-white .ify-home-page--yfvod .ify-home-pillbar__item,
    html.theme-black .ify-home-page--yfvod .ify-home-pillbar__item {
        display: flex;
        flex: 1 1 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: auto;
        min-width: 0;
        min-height: auto;
        padding: 0;
        background: transparent;
        color: var(--ify-portal-text);
        box-shadow: none;
    }

    .ify-home-page--yfvod .ify-home-pillbar__item i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 16px;
        background: linear-gradient(135deg, rgba(88, 171, 255, 0.16) 0%, rgba(216, 121, 255, 0.16) 100%);
        color: #6f7cff;
        font-size: 22px;
    }

    .ify-home-page--yfvod .ify-home-pillbar__item span {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.35;
        overflow: hidden;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ify-home-page--yfvod .ify-home-hot,
    .ify-home-page--yfvod .ify-home-floor {
        margin-bottom: 24px;
    }

    .ify-home-page--yfvod .ify-home-block__head {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
    }

    .ify-home-page--yfvod .ify-home-block__title {
        flex: 1 1 auto;
        min-width: 0;
    }

    .ify-home-page--yfvod .ify-home-block__title i,
    .ify-home-page--yfvod .ify-home-block__title span,
    .ify-home-page--yfvod .ify-home-block__more {
        display: none;
    }

    .ify-home-page--yfvod .ify-home-block__title h2 {
        font-size: 20px;
        line-height: 1.25;
        white-space: nowrap;
        color: var(--ify-portal-text);
    }

    .ify-home-page--yfvod .ify-home-floor__tags {
        flex: 0 0 auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 0;
        width: auto;
        max-width: max-content;
        margin-left: auto;
    }

    .ify-home-page--yfvod .ify-home-floor__tags a:not(.ify-home-floor__morelink) {
        display: none;
    }

    .ify-home-page--yfvod .ify-home-floor__tags .ify-home-floor__morelink {
        display: inline-flex;
        margin-left: 0;
    }

    .ify-home-page--yfvod .ify-home-hot__grid,
    .ify-home-page--yfvod .ify-home-floor__grid {
        gap: 16px 12px;
    }
}

#graypage .gbook_submit,
.mac_report .gbook_submit {
    border: 0 !important;
    background: linear-gradient(135deg, var(--ify-primary) 0%, var(--ify-primary-strong) 100%) !important;
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.2) !important;
    color: #fff !important;
}

#graypage .gbook_submit:hover,
.mac_report .gbook_submit:hover {
    background: linear-gradient(135deg, var(--ify-primary-strong) 0%, var(--ify-primary) 100%) !important;
}

@media screen and (max-width: 820px) {
    html.theme-black .ify-home-page--yfvod .ify-drawer__panel,
    html.theme-black .ify-channel-page .ify-drawer__panel,
    html.theme-black .ify-portal-page .ify-drawer__panel {
        background: #181818 !important;
        color: #f3f3f3 !important;
        box-shadow: -18px 0 36px rgba(0, 0, 0, 0.36) !important;
    }

    html.theme-black .ify-home-page--yfvod .ify-drawer__head,
    html.theme-black .ify-channel-page .ify-drawer__head,
    html.theme-black .ify-portal-page .ify-drawer__head {
        color: #f3f3f3 !important;
    }

    html.theme-black .ify-home-page--yfvod .ify-drawer__head button,
    html.theme-black .ify-channel-page .ify-drawer__head button,
    html.theme-black .ify-portal-page .ify-drawer__head button {
        color: rgba(255, 255, 255, 0.72) !important;
    }

    html.theme-black .ify-home-page--yfvod .ify-drawer__item,
    html.theme-black .ify-home-page--yfvod .ify-drawer__pill,
    html.theme-black .ify-channel-page .ify-drawer__item,
    html.theme-black .ify-channel-page .ify-drawer__pill,
    html.theme-black .ify-portal-page .ify-drawer__item,
    html.theme-black .ify-portal-page .ify-drawer__pill {
        background: #242424 !important;
        color: rgba(255, 255, 255, 0.84) !important;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
    }

    html.theme-black .ify-home-page--yfvod .ify-drawer__item.is-current,
    html.theme-black .ify-home-page--yfvod .ify-drawer__pill:hover,
    html.theme-black .ify-channel-page .ify-drawer__item.is-current,
    html.theme-black .ify-channel-page .ify-drawer__pill:hover,
    html.theme-black .ify-portal-page .ify-drawer__item.is-current,
    html.theme-black .ify-portal-page .ify-drawer__pill:hover {
        background: rgba(111, 124, 255, 0.2) !important;
        color: #ffffff !important;
        box-shadow: inset 0 0 0 1px rgba(139, 140, 255, 0.34) !important;
    }

    html.theme-black .ify-home-page--yfvod .ify-drawer__mode,
    html.theme-black .ify-channel-page .ify-drawer__mode,
    html.theme-black .ify-portal-page .ify-drawer__mode {
        border-color: rgba(139, 140, 255, 0.42) !important;
        background: #202020 !important;
        color: rgba(255, 255, 255, 0.84) !important;
    }
}

@media screen and (max-width: 380px) {
    .ify-header--portal .ify-mobile__bar,
    .ify-home-page--yfvod .ify-header--portal .ify-mobile__bar {
        column-gap: 8px;
        grid-template-columns: minmax(88px, auto) minmax(0, 1fr) auto;
        width: calc(100vw - 16px);
    }

    .ify-header--portal .ify-mobile__brand,
    .ify-home-page--yfvod .ify-header--portal .ify-mobile__brand {
        min-width: 0;
        max-width: 132px;
    }

    .ify-header--portal .ify-mobile__brand img,
    .ify-home-page--yfvod .ify-header--portal .ify-mobile__brand img {
        max-height: 26px;
        max-width: 100%;
    }

    .ify-header--portal .ify-mobile__search form,
    html.theme-white .ify-header--portal .ify-mobile__search form,
    .ify-home-page--yfvod .ify-header--portal .ify-mobile__search form,
    html.theme-white .ify-home-page--yfvod .ify-header--portal .ify-mobile__search form,
    html.theme-black .ify-home-page--yfvod .ify-header--portal .ify-mobile__search form {
        gap: 6px;
        padding-right: 5px;
        padding-left: 12px;
    }

    .ify-header--portal .ify-mobile__search form i,
    html.theme-white .ify-header--portal .ify-mobile__search form i,
    .ify-home-page--yfvod .ify-header--portal .ify-mobile__search form i,
    html.theme-white .ify-home-page--yfvod .ify-header--portal .ify-mobile__search form i,
    html.theme-black .ify-home-page--yfvod .ify-header--portal .ify-mobile__search form i {
        display: none;
    }

    .ify-header--portal .ify-mobile__search button,
    html.theme-white .ify-header--portal .ify-mobile__search button,
    .ify-home-page--yfvod .ify-header--portal .ify-mobile__search button,
    html.theme-white .ify-home-page--yfvod .ify-header--portal .ify-mobile__search button,
    html.theme-black .ify-home-page--yfvod .ify-header--portal .ify-mobile__search button {
        min-width: 48px;
        padding: 0 10px;
        margin-left: 4px;
        font-size: 12px;
    }

    .ify-header--portal .ify-mobile__actions,
    .ify-home-page--yfvod .ify-header--portal .ify-mobile__actions {
        gap: 4px;
    }

    .ify-header--portal .ify-mobile__icon,
    html.theme-white .ify-header--portal .ify-mobile__icon,
    .ify-home-page--yfvod .ify-header--portal .ify-mobile__icon,
    html.theme-white .ify-home-page--yfvod .ify-header--portal .ify-mobile__icon,
    html.theme-black .ify-home-page--yfvod .ify-header--portal .ify-mobile__icon {
        min-width: 30px;
        min-height: 30px;
    }
}

@media screen and (max-width: 820px) {
    html.theme-white body.detail-wrap.ify-detail-page .ify-header--portal .ify-mobile__search form button,
    html.theme-white body.detail-wrap.ify-detail-page .ify-header--portal .ify-mobile__search form button span,
    html.theme-black body.detail-wrap.ify-detail-page .ify-header--portal .ify-mobile__search form button,
    html.theme-black body.detail-wrap.ify-detail-page .ify-header--portal .ify-mobile__search form button span,
    body.detail-wrap.ify-detail-page .ify-header--portal .ify-mobile__search form button,
    body.detail-wrap.ify-detail-page .ify-header--portal .ify-mobile__search form button span {
        color: #fff;
    }
}

/* ify article list and detail pages */
.subsite-art-page,
.subsite-art-detail-page {
    min-height: calc(100vh - 160px);
    padding: 0 0 64px;
    background: var(--ify-portal-bg);
    color: var(--ify-portal-text);
}

.subsite-art-page .container,
.subsite-art-detail-page .container {
    min-height: 0;
}

.subsite-art-hero {
    padding: 42px 0 34px;
    border-bottom: 1px solid var(--ify-portal-line);
    background: var(--ify-portal-surface);
}

.subsite-art-hero h1 {
    margin: 0;
    color: var(--ify-portal-text);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
}

.subsite-art-hero p {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--ify-portal-muted);
    font-size: 15px;
    line-height: 1.8;
}

.subsite-art-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.subsite-art-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 15px;
    border: 1px solid var(--ify-portal-line);
    border-radius: 8px;
    background: var(--ify-portal-surface-2);
    color: var(--ify-portal-muted);
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.subsite-art-nav a:hover,
.subsite-art-nav a.active {
    border-color: var(--ify-portal-blue);
    background: rgba(31, 143, 255, .1);
    color: var(--ify-portal-blue);
}

.subsite-art-list {
    padding-top: 32px;
}

.subsite-art-list .art-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.subsite-art-list .ify-article-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    grid-template-rows: none;
    gap: 18px;
    min-width: 0;
    height: 100%;
    padding: 14px;
    border: 1px solid var(--ify-portal-line);
    border-radius: 8px;
    background: var(--ify-portal-surface);
    box-shadow: none;
}

.subsite-art-list .ify-article-card__poster {
    align-self: start;
    border-radius: 6px;
    background: var(--ify-portal-surface-2);
}

.subsite-art-list .ify-article-card__poster img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover !important;
}

.subsite-art-list .ify-article-card__body {
    min-width: 0;
}

.subsite-art-list .ify-article-card h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.subsite-art-list .ify-article-card p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.75;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.subsite-art-list .ify-article-card__meta {
    margin-top: auto;
}

.subsite-art-list .page {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.subsite-art-list .page li {
    margin: 0;
    padding: 0;
}

.subsite-art-list .page li a,
.subsite-art-list .page li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid var(--ify-portal-line);
    border-radius: 8px;
    background: var(--ify-portal-surface);
    color: var(--ify-portal-muted);
    text-decoration: none;
}

.subsite-art-list .page li.active a {
    border-color: transparent;
    background: var(--ify-portal-accent);
    color: #fff;
}

.subsite-art-list .page_tips {
    margin-top: 12px;
    color: var(--ify-portal-muted);
    font-size: 12px;
}

.subsite-art-detail {
    width: min(960px, calc(100vw - 40px));
    padding-top: 42px;
}

.subsite-art-detail__header {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--ify-portal-line);
}

.subsite-art-detail__header .subsite-art-nav {
    margin: 0 0 24px;
}

.subsite-art-detail__header h1 {
    margin: 0;
    color: var(--ify-portal-text);
    font-size: 38px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.subsite-art-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 16px;
    color: var(--ify-portal-muted);
    font-size: 13px;
    line-height: 1.6;
}

.subsite-art-detail__content {
    padding-top: 30px;
    color: var(--ify-portal-text);
    font-size: 17px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}

.subsite-art-detail__content > :first-child {
    margin-top: 0;
}

.subsite-art-detail__content > :last-child {
    margin-bottom: 0;
}

.subsite-art-detail__content p {
    margin: 0 0 1.25em;
}

.subsite-art-detail__content h2,
.subsite-art-detail__content h3,
.subsite-art-detail__content h4 {
    margin: 1.7em 0 .7em;
    color: var(--ify-portal-text);
    line-height: 1.45;
}

.subsite-art-detail__content img {
    display: block;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 24px auto;
    border-radius: 6px;
}

.subsite-art-detail__content iframe,
.subsite-art-detail__content video {
    display: block;
    width: 100% !important;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto !important;
    margin: 24px auto;
}

.subsite-art-detail__content table {
    width: 100% !important;
    max-width: 100%;
    border-collapse: collapse;
}

.subsite-art-detail__content th,
.subsite-art-detail__content td {
    padding: 10px 12px;
    border: 1px solid var(--ify-portal-line);
}

.subsite-art-detail .page {
    margin-top: 30px;
    text-align: center;
}

@media screen and (max-width: 1080px) {
    .subsite-art-list .art-list {
        grid-template-columns: 1fr;
    }

    .subsite-art-list .ify-article-card {
        grid-template-columns: 240px minmax(0, 1fr);
    }
}

@media screen and (max-width: 820px) {
    .subsite-art-page,
    .subsite-art-detail-page {
        padding-bottom: 44px;
    }

    .subsite-art-hero {
        padding: 26px 0 24px;
    }

    .subsite-art-hero h1 {
        font-size: 28px;
    }

    .subsite-art-hero p {
        margin-top: 6px;
        font-size: 14px;
    }

    .subsite-art-nav {
        flex-wrap: nowrap;
        gap: 8px;
        margin-top: 16px;
        padding-bottom: 2px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .subsite-art-nav::-webkit-scrollbar {
        display: none;
    }

    .subsite-art-nav a {
        flex: 0 0 auto;
        min-height: 34px;
        padding: 0 13px;
        font-size: 13px;
    }

    .subsite-art-list {
        padding-top: 20px;
    }

    .subsite-art-list .ify-article-card {
        grid-template-columns: 150px minmax(0, 1fr);
        gap: 14px;
        padding: 12px;
    }

    .subsite-art-list .ify-article-card h3 {
        font-size: 16px;
    }

    .subsite-art-list .ify-article-card p {
        font-size: 13px;
        line-height: 1.6;
        -webkit-line-clamp: 1;
    }

    .subsite-art-list .ify-article-card__meta {
        gap: 8px;
    }

    .subsite-art-list .ify-article-card__meta span {
        min-height: 0;
        padding: 0;
        background: transparent;
        color: var(--ify-portal-muted);
    }

    .subsite-art-detail {
        width: min(100% - 32px, 860px);
        padding-top: 26px;
    }

    .subsite-art-detail__header {
        padding-bottom: 22px;
    }

    .subsite-art-detail__header .subsite-art-nav {
        margin-bottom: 18px;
    }

    .subsite-art-detail__header h1 {
        font-size: 28px;
        line-height: 1.45;
    }

    .subsite-art-detail__content {
        padding-top: 24px;
        font-size: 16px;
        line-height: 1.9;
    }
}

@media screen and (max-width: 520px) {
    .subsite-art-list .ify-article-card {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 12px;
        padding: 10px;
    }

    .subsite-art-list .ify-article-card__badge {
        right: 6px;
        bottom: 6px;
        min-height: 22px;
        padding: 0 7px;
        font-size: 11px;
    }

    .subsite-art-list .ify-article-card__body {
        gap: 6px;
    }

    .subsite-art-list .ify-article-card h3 {
        font-size: 15px;
        line-height: 1.45;
    }

    .subsite-art-list .ify-article-card p {
        display: none;
    }

    .subsite-art-list .ify-article-card__meta {
        flex-wrap: nowrap;
        gap: 6px;
    }

    .subsite-art-list .ify-article-card__meta span {
        font-size: 11px;
        white-space: nowrap;
    }

    .subsite-art-detail__header h1 {
        font-size: 24px;
    }

    .subsite-art-detail__meta {
        gap: 6px 12px;
        margin-top: 12px;
    }

    .subsite-art-detail__content img,
    .subsite-art-detail__content iframe,
    .subsite-art-detail__content video {
        margin: 18px auto;
    }
}
