:root {
    --yk-gold: #9b6b22;
    --yk-gold-deep: #6f4814;
    --yk-gold-soft: rgba(155, 107, 34, 0.12);
    --yk-amber: #b9822a;
    --yk-bg: #f4f7fb;
    --yk-surface: #ffffff;
    --yk-surface-2: #eef4fb;
    --yk-text: #172033;
    --yk-muted: #64748b;
    --yk-line: rgba(17, 32, 51, 0.1);
    --yk-shadow: 0 14px 34px rgba(31, 86, 156, 0.1);
    --yk-radius: 8px;
    --yk-shell: min(1480px, calc(100vw - 48px));
}

html.theme-black {
    --yk-bg: #0c111b;
    --yk-surface: #131b29;
    --yk-surface-2: #192538;
    --yk-text: #eef6ff;
    --yk-muted: #9eb2ca;
    --yk-line: rgba(215, 232, 255, 0.12);
    --yk-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
    --yk-gold: #d6a84f;
    --yk-gold-deep: #f1c76a;
    --yk-gold-soft: rgba(214, 168, 79, 0.14);
    --yk-amber: #f1c76a;
}

html,
body {
    min-height: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: var(--yk-bg);
    color: var(--yk-text);
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}
body.yk-drawer-open {
    overflow: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.yk-page * { box-sizing: border-box; }
.yk-main,
.yk-player-main,
.yk-header__inner,
.yk-footer__inner,
.yk-mobile__top {
    width: var(--yk-shell);
    margin: 0 auto;
}

.yk-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(244, 247, 251, 0.94);
    border-bottom: 1px solid var(--yk-line);
    backdrop-filter: blur(18px);
}
html.theme-black .yk-header { background: rgba(12, 17, 27, 0.94); }
.yk-header__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 64px;
}
.yk-brand,
.yk-mobile__brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
}
.yk-brand__mark,
.yk-mobile__brand-mark {
    position: relative;
    display: block;
    width: min(220px, 30vw);
    height: 42px;
    overflow: hidden;
}
.yk-brand img,
.yk-mobile__brand img {
    position: absolute;
    left: 0;
    top: 50%;
    display: block;
    max-height: 32px;
    max-width: 100%;
    width: auto;
    transform: translateY(-50%);
}
.yk-brand__dark,
.yk-mobile__brand .yk-brand__dark {
    opacity: 1;
    visibility: visible;
}
.yk-brand__light,
.yk-mobile__brand .yk-brand__light,
html.theme-black .yk-brand__dark,
html.theme-black .yk-mobile__brand .yk-brand__dark {
    opacity: 0;
    visibility: hidden;
}
html.theme-black .yk-brand__light,
html.theme-black .yk-mobile__brand .yk-brand__light {
    opacity: 1;
    visibility: visible;
}
.yk-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.yk-nav__item {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--yk-muted);
    font-size: 14px;
    white-space: nowrap;
}
.yk-nav__item:hover,
.yk-nav__item.is-current {
    color: var(--yk-gold);
    background: var(--yk-gold-soft);
}
.yk-search {
    display: flex;
    align-items: center;
    width: min(360px, 28vw);
    height: 40px;
    padding: 0 6px 0 14px;
    border: 1px solid var(--yk-line);
    border-radius: 999px;
    background: var(--yk-surface);
}
.yk-search__icon { color: var(--yk-muted); margin-right: 8px; }
.yk-search__input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--yk-text);
    font-size: 14px;
}
.yk-search__button,
.yk-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid var(--yk-line);
    border-radius: 999px;
    background: var(--yk-surface);
    color: var(--yk-text);
    cursor: pointer;
}
.yk-search__button,
.yk-button--primary {
    border-color: transparent;
    background: var(--yk-gold);
    color: #fff;
}
.yk-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}
.yk-theme-stack {
    position: relative;
    display: inline-flex;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
}
.yk-theme-stack .yk-action {
    position: absolute;
    inset: 0;
}
.yk-theme-stack .yk-action.hide {
    display: none !important;
}
.yk-action,
.yk-menu-button,
.yk-footer__tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--yk-line);
    border-radius: 999px;
    background: var(--yk-surface);
    color: var(--yk-muted);
    cursor: pointer;
}
.yk-action:hover,
.yk-footer__tool:hover { color: var(--yk-gold); }
.yk-mobile { display: none; }
.yk-drawer {
    position: fixed;
    inset: 0;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.yk-drawer.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.yk-drawer__mask {
    position: absolute;
    inset: 0;
    background: rgba(3, 11, 25, 0.72);
}
.yk-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(380px, 86vw);
    height: 100%;
    padding: 18px;
    background: var(--yk-surface);
    border-left: 1px solid var(--yk-line);
    box-shadow: var(--yk-shadow);
    transform: translateX(100%);
    transition: transform .24s ease;
    overflow-y: auto;
}
.yk-drawer.is-open .yk-drawer__panel { transform: translateX(0); }
.yk-drawer__head,
.yk-block-head,
.yk-catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.yk-drawer__head button {
    border: 0;
    background: transparent;
    color: var(--yk-text);
    cursor: pointer;
}
.yk-drawer__grid,
.yk-drawer__tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}
.yk-drawer__grid a,
.yk-drawer__tools a,
.yk-drawer__tools button {
    padding: 11px 12px;
    border: 1px solid var(--yk-line);
    border-radius: var(--yk-radius);
    background: var(--yk-surface-2);
    color: var(--yk-text);
}

.yk-main { padding: 18px 0 34px; }
.yk-panel,
.yk-shelf,
.yk-search-summary,
.yk-rank-board {
    margin-top: 16px;
    padding: 18px;
    border: 1px solid var(--yk-line);
    border-radius: var(--yk-radius);
    background: var(--yk-surface);
    box-shadow: var(--yk-shadow);
}
.yk-block-head { margin-bottom: 14px; }
.yk-block-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.yk-block-title i {
    color: var(--yk-gold);
}
.yk-block-more {
    color: var(--yk-muted);
    font-size: 13px;
}
.yk-block-head h2,
.yk-block-title h2,
.yk-catalog-toolbar h1,
.yk-catalog-toolbar h2,
.yk-search-summary h1 {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
}
.yk-block-head a,
.yk-block-head span,
.yk-catalog-toolbar span {
    color: var(--yk-muted);
    font-size: 13px;
}
.yk-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--yk-gold-soft);
    color: var(--yk-gold);
    font-size: 12px;
}

.yk-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 16px;
}
.yk-hero__slides {
    position: relative;
    min-height: 430px;
    border-radius: var(--yk-radius);
    overflow: hidden;
    background: #07111f;
    box-shadow: var(--yk-shadow);
}
.yk-hero__slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42%;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}
.yk-hero__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.yk-hero__media {
    position: absolute;
    inset: 0;
}
.yk-hero__media:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 10, 24, .82) 0%, rgba(3, 10, 24, .45) 48%, rgba(3, 10, 24, .06) 100%);
}
.yk-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.yk-hero__copy {
    position: relative;
    z-index: 1;
    align-self: end;
    max-width: 560px;
    padding: 34px;
    color: #fff;
}
.yk-hero__copy h1 {
    margin: 0 0 12px;
    font-size: 36px;
    line-height: 1.15;
}
.yk-hero__copy h1,
.yk-hero__copy h1 a {
    color: #fff !important;
}
.yk-hero__copy p {
    margin: 0 0 16px;
    max-width: 520px;
    color: rgba(255,255,255,.8);
    line-height: 1.8;
}
.yk-hero__meta,
.yk-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.yk-hero__meta strong,
.yk-detail-meta strong {
    color: var(--yk-amber);
    font-size: 22px;
}
.yk-hero__meta span,
.yk-detail-meta span {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: inherit;
    font-size: 12px;
}
.yk-hero__rank {
    padding: 18px;
    border: 1px solid var(--yk-line);
    border-radius: var(--yk-radius);
    background: var(--yk-surface);
    box-shadow: var(--yk-shadow);
}
.yk-hero__rank ol,
.yk-mini-rank ol,
.yk-rank-card ol {
    margin: 0;
    padding: 0;
    list-style: none;
}
.yk-hero__rank li + li,
.yk-mini-rank li + li,
.yk-rank-card li + li { margin-top: 10px; }
.yk-hero__rank li a,
.yk-rank-card li a {
    display: grid;
    grid-template-columns: 28px 52px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}
.yk-rank-index {
    color: var(--yk-gold);
    font-weight: 700;
}
.yk-rank-thumb {
    width: 52px;
    aspect-ratio: 16 / 10;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
}
.yk-rank-text,
.yk-rank-card li a strong,
.yk-mini-rank li a strong {
    min-width: 0;
}
.yk-rank-text strong,
.yk-rank-card strong,
.yk-mini-rank strong {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
}
.yk-rank-text em,
.yk-rank-card em,
.yk-mini-rank em {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--yk-muted);
    font-size: 12px;
    font-style: normal;
}
.yk-rank-page .yk-rank-text em,
.yk-rank-page .yk-rank-card em {
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
    line-height: 1.45;
}

.yk-channel-rail {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}
.yk-channel-rail a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 116px;
    padding: 12px 14px;
    border: 1px solid var(--yk-line);
    border-radius: var(--yk-radius);
    background: var(--yk-surface);
    box-shadow: var(--yk-shadow);
    white-space: nowrap;
}
.yk-channel-rail i { color: var(--yk-gold); }

.yk-card-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.yk-shelf__viewport { overflow: hidden; }
.yk-card-grid--rail {
    display: flex;
    transition: transform .28s ease;
}
.yk-card-grid--rail .yk-vod-card {
    flex: 0 0 calc((100% - 70px) / 6);
}
.yk-vod-card {
    min-width: 0;
}
.yk-vod-card__poster {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    border-radius: var(--yk-radius);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: var(--yk-surface-2);
}
.yk-vod-card__poster:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(transparent, rgba(0,0,0,.58));
}
.yk-vod-card__badge,
.yk-vod-card__score {
    position: absolute;
    z-index: 1;
    left: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 12px;
}
.yk-vod-card__score {
    left: auto;
    right: 8px;
    color: #ffd36b;
}
.yk-vod-card__play {
    position: absolute;
    z-index: 1;
    top: 8px;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(214,168,79,.92);
    color: #fff;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .2s ease, transform .2s ease;
}
.yk-vod-card:hover .yk-vod-card__play {
    opacity: 1;
    transform: translateY(0);
}
.yk-vod-card__title {
    margin: 8px 0 3px;
    font-size: 15px;
    line-height: 1.35;
}
.yk-vod-card__title a,
.yk-vod-card__meta {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.yk-vod-card__meta {
    margin: 0;
    color: var(--yk-muted);
    font-size: 12px;
}
.yk-shelf__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 18px;
}
.yk-mini-rank {
    padding: 14px;
    border-radius: var(--yk-radius);
    background: var(--yk-surface-2);
}
.yk-mini-rank h3 { margin: 0 0 12px; font-size: 16px; }
.yk-mini-rank li a {
    display: grid;
    grid-template-columns: 24px 58px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
}
.yk-mini-rank__index {
    color: var(--yk-gold);
    font-weight: 800;
    text-align: center;
}
.yk-mini-rank__thumb {
    width: 58px;
    aspect-ratio: 16 / 10;
    border-radius: 6px;
    background-color: var(--yk-surface);
    background-position: center;
    background-size: cover;
}
.yk-mini-rank__text {
    min-width: 0;
}
.yk-channel-head {
    display: grid;
    grid-template-columns: minmax(96px, 18%) minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 44px;
}
.yk-channel-head__title {
    min-width: 96px;
    flex: 0 0 auto;
}
.yk-channel-head__title h2 {
    margin: 0;
    white-space: nowrap;
}
.yk-channel-head__links {
    min-width: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}
.yk-channel-head__links::-webkit-scrollbar {
    display: none;
}
.yk-channel-head__links a {
    flex: 0 0 auto;
}
.yk-tagline {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
}
.yk-tagline a { color: var(--yk-muted); font-size: 13px; white-space: nowrap; }
.yk-tagline a.is-current,
.yk-tagline a.active,
.yk-tagline a:hover {
    color: var(--yk-gold);
}
.yk-panel .vodlist,
.yk-panel .artlist,
.yk-panel .topiclist,
.yk-panel .actor_vlist,
.yk-panel .ranklist {
    margin: 0;
    padding: 0;
    list-style: none;
}
.yk-panel .page,
.yk-panel .mac_pages,
.yk-panel .pagination {
    margin-top: 18px;
}
.yk-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 4px;
}
.yk-pagination a,
.yk-pagination__info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 36px;
    padding: 0 13px;
    border: 1px solid var(--yk-line);
    border-radius: 999px;
    background: var(--yk-surface);
    color: var(--yk-muted);
    font-size: 14px;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(31, 86, 156, 0.06);
    white-space: nowrap;
}
.yk-pagination a.is-current {
    border-color: rgba(214,168,79,.32);
    background: rgba(214,168,79,.16);
    color: var(--yk-gold);
    font-weight: 700;
}
.yk-pagination a.is-disabled {
    opacity: .42;
    pointer-events: none;
    box-shadow: none;
}
.yk-pagination__info {
    display: none;
}

.yk-channel-hero,
.yk-detail-hero,
.yk-player-stage {
    padding: 18px;
    border-radius: var(--yk-radius);
    background: var(--yk-surface);
    border: 1px solid var(--yk-line);
    box-shadow: var(--yk-shadow);
}
.yk-channel-hero__copy h1,
.yk-detail-hero h1 {
    margin: 0 0 10px;
    font-size: 30px;
}
.yk-channel-hero__copy p,
.yk-search-summary p,
.yk-detail-blurb {
    margin: 0;
    color: var(--yk-muted);
    line-height: 1.75;
}
.yk-catalog-toolbar {
    margin-bottom: 14px;
}
.yk-catalog-toolbar div {
    display: inline-flex;
    gap: 8px;
}
.yk-catalog-toolbar a {
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--yk-muted);
}
.yk-catalog-toolbar a.is-current {
    background: var(--yk-gold-soft);
    color: var(--yk-gold);
}
.yk-filter__toggle {
    display: none;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--yk-line);
    border-radius: var(--yk-radius);
    background: var(--yk-surface-2);
    color: var(--yk-text);
}
.yk-filter__row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--yk-line);
}
.yk-filter__row:last-child { border-bottom: 0; }
.yk-filter__row strong {
    color: var(--yk-text);
    font-size: 14px;
}
.yk-filter__options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.yk-filter__options a {
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--yk-muted);
    font-size: 13px;
}
.yk-filter__options a.is-current,
.yk-filter__options a:hover {
    background: var(--yk-gold-soft);
    color: var(--yk-gold);
}
.yk-empty {
    padding: 24px;
    text-align: center;
    color: var(--yk-muted);
}
.ify-map-page .ranklist_txt .title {
    color: var(--yk-text);
    transition: color .2s ease;
}
.ify-map-page .ranklist_item a:hover .title {
    color: var(--yk-gold);
}
.ify-map-page .ranklist_txt .vod_tname {
    color: #c8a058;
}
.ify-map-page .ranklist_txt .vod_tname em {
    color: #f2d58f;
    font-style: normal;
}

.yk-detail-hero {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
}
.yk-detail-hero__poster {
    width: 180px;
    max-width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: var(--yk-radius);
    background-size: cover;
    background-position: center;
}
.yk-detail-hero__side {
    display: none;
}
.yk-detail-hero__body {
    min-width: 0;
}
.yk-detail-meta span {
    background: var(--yk-surface-2);
    color: var(--yk-muted);
}
.yk-detail-facts {
    display: grid;
    gap: 8px;
    margin: 0 0 12px;
}
.yk-detail-facts--desktop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
}
.yk-detail-facts--mobile {
    grid-template-columns: 1fr;
}
.yk-detail-facts div {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 6px;
}
.yk-detail-facts--mobile div {
    grid-template-columns: 42px minmax(0, 1fr);
}
.yk-detail-facts dt {
    color: var(--yk-muted);
}
.yk-detail-facts dd {
    margin: 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.yk-detail-facts--mobile dd {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
    line-height: 1.35;
}
.yk-detail-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.yk-episode-group + .yk-episode-group,
.yk-third-party + .yk-episode-group { margin-top: 18px; }
.yk-episode-group h3,
.yk-third-party h3 { margin: 0 0 10px; font-size: 16px; }
.yk-episode-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.yk-episode-grid.content_playlist {
    height: auto !important;
    max-height: none;
    overflow: visible;
    overflow-x: visible;
    overflow-y: visible;
    white-space: normal;
}
.yk-episode-grid::before,
.yk-episode-grid::after {
    display: none;
    content: none;
}
.yk-episode-grid li {
    display: block;
    float: none;
    width: auto;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
.yk-episode-grid li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 30px;
    padding: 0 10px;
    border-radius: var(--yk-radius);
    background: var(--yk-surface-2);
    color: var(--yk-text);
    font-size: 13px;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.yk-episode-grid li.active a,
.yk-episode-grid li a:hover {
    background: var(--yk-gold);
    color: #fff;
}
.yk-detail-content {
    color: var(--yk-muted);
    line-height: 1.9;
}
.yk-comment-panel {
    width: var(--yk-shell);
    max-width: var(--yk-shell);
    margin-left: auto;
    margin-right: auto;
}
.yk-comment-panel .mac_comment,
.yk-comment-panel .comm_list,
.yk-comment-panel .comm_list_box,
.yk-comment-panel form,
.yk-comment-panel .input_wrap,
.yk-comment-panel .comment_form,
.yk-comment-panel .comment_content {
    width: 100%;
    max-width: none;
}
.yk-comment-panel textarea,
.yk-comment-panel input[type="text"] {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}
.yk-comment-panel .input_wrap .comment_content {
    width: 100%;
    max-width: none;
}
.yk-third-party__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.yk-third-party__card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--yk-line);
    border-radius: var(--yk-radius);
    background: var(--yk-surface-2);
}
.yk-third-party__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--yk-radius);
    background: var(--yk-surface);
    color: var(--yk-gold);
    font-size: 12px;
    overflow: hidden;
}
.yk-third-party__logo img {
    max-width: 100%;
    max-height: 100%;
}
.yk-third-party__card strong,
.yk-third-party__card em {
    display: block;
}
.yk-third-party__card em {
    color: var(--yk-muted);
    font-size: 12px;
    font-style: normal;
}
.yk-third-party-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(6, 14, 30, .56);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.yk-third-party-modal.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.yk-third-party-modal__card {
    width: min(440px, 100%);
    padding: 22px;
    border-radius: var(--yk-radius);
    background: var(--yk-surface);
}
.yk-third-party-modal__actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}
.third-party-play-hero {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 360px;
    border-radius: var(--yk-radius);
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(214,168,79,.18), transparent 38%),
        linear-gradient(135deg, #0b1424 0%, #060b14 100%);
    color: #f5f7ff;
}
.third-party-play-hero__poster,
.third-party-play-hero__overlay {
    position: absolute;
    inset: 0;
}
.third-party-play-hero__poster {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.03);
    opacity: .24;
}
.third-party-play-hero__overlay {
    background: linear-gradient(90deg, rgba(5, 10, 18, .92) 0%, rgba(5, 10, 18, .72) 42%, rgba(5, 10, 18, .86) 100%);
}
.third-party-play-hero__card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    width: min(760px, 100%);
    padding: 36px 40px;
}
.third-party-play-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(214,168,79,.14);
    color: #f3d488;
    font-size: 13px;
    letter-spacing: .06em;
}
.third-party-play-hero__title {
    margin: 0;
    font-size: 31px;
    line-height: 1.28;
    color: #fff;
}
.third-party-play-hero__title span {
    color: #f3d488;
}
.third-party-play-hero__desc,
.third-party-play-hero__hint {
    margin: 0;
    max-width: 56ch;
    color: rgba(235, 242, 255, .82);
    font-size: 15px;
    line-height: 1.85;
}
.third-party-play-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.third-party-play-hero__pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 13px;
}
.third-party-play-hero__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 2px;
}
.third-party-play-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #d7ab52 0%, #b77a23 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 18px 36px rgba(162, 104, 19, .32);
}
.third-party-play-hero__button:hover {
    color: #fff;
    transform: translateY(-1px);
}

.yk-player-main {
    padding: 16px 0 34px;
}
.yk-player-stage {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(240px, 1fr);
    gap: 18px;
    align-items: stretch;
    background: #070d18;
    color: #fff;
}
.yk-player-stage__video {
    min-width: 0;
}
.yk-player-stage .player_video {
    overflow: hidden;
    border-radius: var(--yk-radius);
    background: #000;
}
.yk-player-stage .player_video_thirdparty {
    display: flex;
    min-height: clamp(320px, 31vw, 520px);
    padding-bottom: 0;
}
.player_video_thirdparty .third-party-play-hero {
    min-height: 100%;
    width: 100%;
}
.player_video_thirdparty .third-party-play-hero__card {
    margin: auto;
    text-align: left;
}
.yk-player-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.yk-player-actions a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.86);
}
.yk-player-aside {
    min-width: 0;
    padding: 16px;
    border-radius: var(--yk-radius);
    background: rgba(255,255,255,.06);
}
.yk-player-aside h1 {
    margin: 0 0 8px;
    font-size: 22px;
}
.yk-player-aside p {
    margin: 0 0 16px;
    color: rgba(255,255,255,.68);
}
.yk-player-related {
    display: grid;
    gap: 12px;
}
.yk-player-related__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}
.yk-player-related__head h2 {
    margin: 0;
    font-size: 17px;
    color: #fff;
}
.yk-player-related__head span {
    color: rgba(255,255,255,.48);
    font-size: 12px;
    white-space: nowrap;
}
.yk-player-related__list {
    display: grid;
    gap: 10px;
    max-height: clamp(300px, 29vw, 470px);
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.22) transparent;
}
.yk-player-related__list::-webkit-scrollbar {
    width: 6px;
}
.yk-player-related__list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255,255,255,.22);
}
.yk-player-related__item {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 8px;
    border-radius: var(--yk-radius);
    background: rgba(255,255,255,.05);
    transition: background .18s ease, transform .18s ease;
}
.yk-player-related__item:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
    transform: translateY(-1px);
}
.yk-player-related__thumb {
    display: block;
    width: 82px;
    aspect-ratio: 16 / 10;
    border-radius: 6px;
    background-color: rgba(255,255,255,.1);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.yk-player-related__text {
    display: grid;
    gap: 6px;
    min-width: 0;
}
.yk-player-related__text strong,
.yk-player-related__text em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.yk-player-related__text strong {
    color: rgba(255,255,255,.9);
    font-size: 14px;
    font-weight: 600;
}
.yk-player-related__text em {
    color: rgba(255,255,255,.52);
    font-size: 12px;
    font-style: normal;
}
.yk-play-page .yk-panel {
    width: var(--yk-shell);
    margin-left: auto;
    margin-right: auto;
}

.yk-rank-board__tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.yk-rank-board__tabs button {
    padding: 8px 14px;
    border: 1px solid var(--yk-line);
    border-radius: 999px;
    background: var(--yk-surface-2);
    color: var(--yk-text);
    cursor: pointer;
}
.yk-rank-board__tabs button.is-current {
    border-color: transparent;
    background: var(--yk-gold);
    color: #fff;
}
.yk-rank-board__panel {
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.yk-rank-board__panel.is-current {
    display: grid;
}
.yk-rank-card {
    padding: 14px;
    border: 1px solid var(--yk-line);
    border-radius: var(--yk-radius);
    background: var(--yk-surface-2);
}
.yk-rank-card h2 {
    margin: 0 0 12px;
    font-size: 18px;
}

.yk-footer {
    margin-top: 30px;
    padding: 24px 0;
    border-top: 1px solid var(--yk-line);
    background: var(--yk-surface);
}
.yk-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
}
.yk-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-bottom: 10px;
}
.yk-footer__nav a,
.yk-footer__meta {
    color: var(--yk-muted);
    font-size: 13px;
}
.yk-footer__meta p { margin: 0 0 6px; }
.yk-footer__tools {
    display: flex;
    gap: 8px;
}

@media (min-width: 1600px) {
    :root { --yk-shell: min(1560px, calc(100vw - 64px)); }
    .yk-card-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
    .yk-hero,
    .yk-player-stage {
        grid-template-columns: 1fr;
    }
    .yk-hero__rank {
        display: none;
    }
    .yk-card-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .yk-shelf__layout { grid-template-columns: 1fr; }
    .yk-mini-rank { display: none; }
}

@media (min-width: 821px) and (max-width: 1180px) {
    .yk-shelf--channel .yk-card-grid .yk-vod-card:nth-child(n+11) {
        display: none;
    }
}

@media (min-width: 1181px) and (max-width: 1599px) {
    .yk-shelf--channel .yk-card-grid .yk-vod-card:nth-child(n+13) {
        display: none;
    }
}

@media (max-width: 820px) {
    :root { --yk-shell: calc(100vw - 20px); }
    .hidden_xs,
    .hidden_mi { display: none !important; }
    .show-mobile { display: block !important; }
    .yk-header__inner { display: none; }
    .yk-mobile {
        display: block;
        padding: 0;
    }
    .yk-mobile__top {
        display: flex;
        align-items: center;
        gap: 8px;
        min-height: 48px;
        min-width: 0;
    }
    .yk-mobile__brand {
        flex: 0 1 auto;
        min-width: 0;
    }
    .yk-mobile__brand-mark {
        display: grid;
        width: auto;
        max-width: 34vw;
        height: 34px;
    }
    .yk-mobile__brand img {
        position: static;
        grid-area: 1 / 1;
        max-height: 28px;
        max-width: 100%;
        object-fit: contain;
        transform: none;
    }
    .yk-mobile__search {
        display: flex;
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        align-items: center;
        gap: 6px;
        height: 38px;
        padding: 0 5px 0 10px;
        border: 1px solid var(--yk-line);
        border-radius: 999px;
        background: var(--yk-surface);
    }
    .yk-mobile__search input {
        flex: 1;
        min-width: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: var(--yk-text);
    }
    .yk-mobile__search button {
        flex: 0 0 auto;
        min-width: 48px;
        height: 28px;
        padding: 0 10px;
        border: 0;
        border-radius: 999px;
        background: var(--yk-gold);
        color: #fff;
    }
    .yk-main,
    .yk-player-main { padding-top: 10px; }
    .yk-hero__slides {
        min-height: 360px;
    }
    .yk-hero__slide {
        display: block;
    }
    .yk-hero__copy {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 22px;
    }
    .yk-hero__copy h1 {
        font-size: 26px;
    }
    .yk-hero__copy p {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .yk-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
    .yk-rank-board__panel {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .yk-card-grid--rail {
        overflow-x: auto;
        transform: none !important;
    }
    .yk-card-grid--rail .yk-vod-card {
        flex: 0 0 32%;
    }
    .yk-channel-hero,
    .yk-detail-hero,
    .yk-player-stage {
        grid-template-columns: 1fr;
        padding: 14px;
    }
    .yk-detail-hero {
        grid-template-columns: minmax(116px, 42%) minmax(0, 1fr);
    }
    .yk-detail-hero__poster { width: 100%; }
    .yk-detail-hero__body { grid-column: 1 / -1; }
    .yk-detail-facts--desktop { display: none; }
    .yk-detail-hero__side {
        display: block;
        align-self: start;
        padding: 0;
        min-width: 0;
    }
    .yk-detail-hero h1,
    .yk-channel-hero__copy h1 {
        font-size: 22px;
    }
    .yk-channel-head {
        grid-template-columns: minmax(72px, 24%) minmax(0, 1fr);
        gap: 10px;
        min-height: 48px;
    }
    .yk-channel-head__title {
        min-width: 72px;
    }
    .yk-channel-head__title h2 {
        font-size: 20px;
        white-space: normal;
        line-height: 1.2;
        word-break: keep-all;
    }
    .yk-filter__toggle {
        display: block;
    }
    .yk-filter__body {
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height .22s ease;
    }
    .yk-filter.is-open .yk-filter__body {
        max-height: 72vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .yk-filter__row {
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        padding: 10px 0;
    }
    .yk-filter__options {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 2px 4px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .yk-filter__options::-webkit-scrollbar {
        display: none;
    }
    .yk-filter__options a {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    .yk-pagination {
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 7px;
        margin-top: 14px;
        padding: 2px 2px 4px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .yk-pagination::-webkit-scrollbar {
        display: none;
    }
    .yk-pagination a,
    .yk-pagination__info {
        flex: 0 0 auto;
        min-width: 34px;
        height: 34px;
        padding: 0 11px;
        font-size: 13px;
    }
    .yk-pagination__info {
        display: inline-flex;
        color: var(--yk-text);
        font-weight: 700;
    }
    .yk-pagination a:first-child,
    .yk-pagination a:last-child {
        display: none;
    }
    .yk-playlist-panel {
        padding: 12px;
    }
    .yk-episode-group + .yk-episode-group,
    .yk-third-party + .yk-episode-group {
        margin-top: 14px;
    }
    .yk-episode-group h3,
    .yk-third-party h3 {
        margin-bottom: 8px;
        font-size: 15px;
    }
    .yk-episode-grid {
        gap: 7px;
    }
    .yk-episode-grid.content_playlist {
        height: auto !important;
        overflow: visible;
        overflow-x: visible;
        overflow-y: visible;
        white-space: normal;
    }
    .yk-episode-grid li a {
        max-width: min(100%, calc(100vw - 48px));
        min-height: 30px;
        padding: 0 9px;
    }
    .yk-episode-grid li {
        display: block;
        width: auto;
        min-width: 0;
        max-width: 100%;
        padding: 0;
    }
    .yk-third-party__grid {
        grid-template-columns: 1fr;
    }
    .third-party-play-hero {
        min-height: 220px;
    }
    .third-party-play-hero__card {
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
        padding: 12px 12px 10px;
    }
    .third-party-play-hero__eyebrow,
    .third-party-play-hero__desc,
    .third-party-play-hero__hint,
    .third-party-play-hero__meta {
        display: none;
    }
    .third-party-play-hero__title {
        font-size: 16px;
        line-height: 1.3;
    }
    .third-party-play-hero__actions {
        padding-top: 0;
    }
    .third-party-play-hero__button {
        width: 100%;
        min-height: 40px;
        padding: 0 16px;
        font-size: 13px;
        box-shadow: 0 12px 24px rgba(162, 104, 19, .24);
    }
    .yk-player-actions {
        gap: 6px;
        margin-top: 8px;
    }
    .yk-player-actions a {
        min-height: 30px;
        padding: 0 10px;
        font-size: 12px;
    }
    .yk-player-aside {
        display: none;
    }
    .yk-footer__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .yk-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .yk-card-grid--rail .yk-vod-card { flex-basis: 46%; }
    .yk-catalog-toolbar { align-items: flex-start; flex-direction: column; }
}

/* Article center */
.yk-art-page,
.yk-art-detail-page {
    min-height: 70vh;
    background: var(--yk-bg);
    color: var(--yk-text);
    font-size: 16px;
    line-height: 1.6;
}
.yk-art-page *,
.yk-art-detail-page * {
    box-sizing: border-box;
}
.yk-art-shell {
    width: var(--yk-shell);
    margin: 0 auto;
    padding: 20px 0 52px;
}
.yk-art-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    margin-bottom: 20px;
    color: var(--yk-muted);
    font-size: 13px;
}
.yk-art-breadcrumb a:hover {
    color: var(--yk-gold);
}
.yk-art-breadcrumb strong {
    overflow: hidden;
    max-width: min(520px, 55vw);
    color: var(--yk-text);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.yk-art-layout,
.yk-art-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 38px;
    align-items: start;
}
.yk-art-feed,
.yk-art-reading {
    min-width: 0;
}
.yk-art-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.yk-art-feed__head {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(280px, 1fr);
    align-items: end;
    gap: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--yk-line);
}
.yk-art-feed__head span,
.yk-art-aside__section header span,
.yk-art-facts header span,
.yk-art-related > header span {
    display: block;
    margin-bottom: 5px;
    color: var(--yk-gold);
    font-size: 12px;
    font-weight: 700;
}
.yk-art-feed__head h1 {
    margin: 0;
    color: var(--yk-text);
    font-size: 32px;
    font-weight: 750;
    line-height: 1.2;
}
.yk-art-feed__head p {
    margin: 0;
    color: var(--yk-muted);
    font-size: 14px;
    line-height: 1.8;
}
.yk-art-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 0 4px;
}
.yk-art-channels a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid var(--yk-line);
    border-radius: 999px;
    background: var(--yk-surface);
    color: var(--yk-muted);
    font-size: 13px;
}
.yk-art-channels a:hover,
.yk-art-channels a.is-current {
    border-color: var(--yk-gold);
    background: var(--yk-gold-soft);
    color: var(--yk-gold-deep);
}
.yk-art-stream {
    margin-top: 10px;
}
.yk-art-entry {
    display: grid;
    grid-template-columns: 238px minmax(0, 1fr);
    gap: 22px;
    min-height: 176px;
    padding: 24px 0;
    border-bottom: 1px solid var(--yk-line);
}
.yk-art-entry__media {
    position: relative;
    display: block;
    align-self: start;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 6px;
    background: var(--yk-surface-2);
}
.yk-art-entry__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease-out;
}
.yk-art-entry:hover .yk-art-entry__media img {
    transform: scale(1.035);
}
.yk-art-entry__media > span {
    position: absolute;
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    padding: 4px 8px;
    overflow: hidden;
    border-radius: 4px;
    background: rgba(16, 24, 40, .78);
    color: #f8fafc;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.yk-art-entry__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
}
.yk-art-entry__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--yk-muted);
    font-size: 12px;
}
.yk-art-entry__meta a {
    color: var(--yk-gold);
    font-weight: 650;
}
.yk-art-entry__meta time:before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 3px;
    margin: 0 8px 2px 0;
    border-radius: 50%;
    background: var(--yk-muted);
}
.yk-art-entry h2 {
    margin: 9px 0 8px;
    color: var(--yk-text);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.42;
}
.yk-art-entry h2 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.yk-art-entry h2 a:hover {
    color: var(--yk-gold-deep);
}
.yk-art-entry__body > p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--yk-muted);
    font-size: 14px;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.yk-art-entry__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 10px;
    color: var(--yk-muted);
    font-size: 12px;
}
.yk-art-entry__foot a {
    color: var(--yk-gold);
    font-weight: 700;
}
.yk-art-entry__foot a:after {
    content: "›";
    margin-left: 5px;
}
.yk-art-aside,
.yk-art-detail-aside {
    position: sticky;
    top: 86px;
    display: grid;
    gap: 28px;
}
.yk-art-aside__section,
.yk-art-facts {
    padding-top: 16px;
    border-top: 2px solid var(--yk-text);
}
.yk-art-aside__section header,
.yk-art-facts header {
    margin-bottom: 14px;
}
.yk-art-aside__section h2,
.yk-art-facts h2,
.yk-art-related h2 {
    margin: 0;
    color: var(--yk-text);
    font-size: 20px;
    line-height: 1.3;
}
.yk-art-rank {
    margin: 0;
    padding: 0;
    list-style: none;
}
.yk-art-rank li + li {
    border-top: 1px solid var(--yk-line);
}
.yk-art-rank li a {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 9px;
    padding: 12px 0;
}
.yk-art-rank b {
    color: var(--yk-gold);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
}
.yk-art-rank li:nth-child(n+4) b {
    color: var(--yk-muted);
}
.yk-art-rank li a > span {
    min-width: 0;
}
.yk-art-rank strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--yk-text);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.yk-art-rank a:hover strong {
    color: var(--yk-gold-deep);
}
.yk-art-rank time {
    display: block;
    margin-top: 3px;
    color: var(--yk-muted);
    font-size: 11px;
}
.yk-art-channel-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.yk-art-channel-list a {
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid var(--yk-line);
    border-radius: 5px;
    background: var(--yk-surface);
}
.yk-art-channel-list a:hover,
.yk-art-channel-list a.is-current {
    border-color: var(--yk-gold);
    background: var(--yk-gold-soft);
}
.yk-art-channel-list strong,
.yk-art-channel-list span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.yk-art-channel-list strong {
    color: var(--yk-text);
    font-size: 13px;
}
.yk-art-channel-list span {
    margin-top: 2px;
    color: var(--yk-muted);
    font-size: 11px;
}
.yk-art-pagination {
    padding-top: 26px;
}
.yk-art-pagination .page {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}
.yk-art-pagination .page li {
    float: none;
    margin: 0;
}
.yk-art-pagination .page li a,
.yk-art-pagination .page li .num,
.yk-art-pagination .page li .btns_disad {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--yk-line);
    border-radius: 5px;
    background: var(--yk-surface);
    color: var(--yk-text);
    font-size: 13px;
}
.yk-art-pagination .page li.active a {
    border-color: var(--yk-gold) !important;
    background: var(--yk-gold) !important;
    color: #fff !important;
}
.yk-art-pagination .page li a.btns_disad,
.yk-art-pagination .page li .btns_disad {
    opacity: .48;
    pointer-events: none;
}
.yk-art-pagination .page_tips {
    margin: 12px 0 0;
    color: var(--yk-muted);
    text-align: left;
    font-size: 12px;
}
.yk-art-pagination .page_tips span {
    color: inherit;
}

/* Article detail */
.yk-art-detail-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 46px;
}
.yk-art-reading {
    padding: 38px 44px 44px;
    border: 1px solid var(--yk-line);
    border-radius: var(--yk-radius);
    background: var(--yk-surface);
}
.yk-art-reading__head {
    padding-bottom: 26px;
    border-bottom: 1px solid var(--yk-line);
}
.yk-art-reading__category {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 4px;
    background: var(--yk-gold-soft);
    color: var(--yk-gold-deep);
    font-size: 12px;
    font-weight: 700;
}
.yk-art-reading__head h1 {
    margin: 16px 0 14px;
    color: var(--yk-text);
    font-size: 34px;
    font-weight: 760;
    line-height: 1.38;
    overflow-wrap: anywhere;
}
.yk-art-reading__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: var(--yk-muted);
    font-size: 12px;
}
.yk-art-reading__lead {
    margin: 20px 0 0;
    padding: 16px 18px;
    border-left: 3px solid var(--yk-gold);
    background: var(--yk-surface-2);
    color: var(--yk-muted);
    font-size: 15px;
    line-height: 1.8;
}
.yk-art-reading__cover {
    margin: 28px 0 0;
    padding: 0;
    overflow: hidden;
    border-radius: 6px;
    background: var(--yk-surface-2);
    text-align: center;
}
.yk-art-reading__cover img {
    display: block;
    width: 100%;
    max-height: 600px;
    margin: 0 auto;
    object-fit: contain;
}
.yk-art-reading__content {
    padding: 32px 0 8px;
    color: var(--yk-text);
    font-size: 17px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}
.yk-art-reading__content p {
    margin: 0 0 1.25em;
}
.yk-art-reading__content h2,
.yk-art-reading__content h3,
.yk-art-reading__content h4 {
    margin: 1.7em 0 .75em;
    color: var(--yk-text);
    line-height: 1.45;
}
.yk-art-reading__content h2 { font-size: 25px; }
.yk-art-reading__content h3 { font-size: 21px; }
.yk-art-reading__content h4 { font-size: 18px; }
.yk-art-reading__content img,
.yk-art-reading__content video,
.yk-art-reading__content iframe {
    max-width: 100% !important;
}
.yk-art-reading__content img {
    display: block;
    width: auto;
    height: auto !important;
    margin: 24px auto;
    border-radius: 4px;
}
.yk-art-reading__content a {
    color: var(--yk-gold-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.yk-art-neighbor {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--yk-line);
}
.yk-art-neighbor > a,
.yk-art-neighbor > .is-disabled {
    display: block;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--yk-line);
    border-radius: 5px;
    background: var(--yk-surface-2);
}
.yk-art-neighbor > :nth-child(2) {
    text-align: right;
}
.yk-art-neighbor span {
    display: block;
    margin-bottom: 4px;
    color: var(--yk-muted);
    font-size: 11px;
}
.yk-art-neighbor strong {
    display: block;
    overflow: hidden;
    color: var(--yk-text);
    font-size: 13px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.yk-art-neighbor a:hover {
    border-color: var(--yk-gold);
}
.yk-art-neighbor .is-disabled {
    opacity: .55;
}
.yk-art-related {
    margin-top: 38px;
    padding-top: 22px;
    border-top: 2px solid var(--yk-text);
}
.yk-art-related > header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}
.yk-art-related > header > a {
    color: var(--yk-gold);
    font-size: 12px;
    font-weight: 700;
}
.yk-art-related__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
}
.yk-art-related__grid a {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
    padding: 13px 0;
    border-bottom: 1px solid var(--yk-line);
}
.yk-art-related__grid a > span {
    grid-row: span 2;
    color: var(--yk-gold);
    font-size: 15px;
    font-weight: 800;
}
.yk-art-related__grid strong {
    overflow: hidden;
    color: var(--yk-text);
    font-size: 13px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.yk-art-related__grid time {
    color: var(--yk-muted);
    font-size: 11px;
}
.yk-art-facts dl {
    margin: 0;
}
.yk-art-facts dl > div {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 8px;
    padding: 11px 0;
    border-bottom: 1px solid var(--yk-line);
    font-size: 13px;
}
.yk-art-facts dt {
    color: var(--yk-muted);
}
.yk-art-facts dd {
    margin: 0;
    color: var(--yk-text);
    text-align: right;
}
.yk-art-facts dd a {
    color: var(--yk-gold-deep);
}

@media (max-width: 1080px) {
    .yk-art-layout,
    .yk-art-detail-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 26px;
    }
    .yk-art-entry {
        grid-template-columns: 210px minmax(0, 1fr);
    }
    .yk-art-reading {
        padding: 32px;
    }
}

@media (max-width: 900px) {
    .yk-art-shell {
        width: min(100% - 30px, 760px);
        padding-top: 12px;
    }
    .yk-art-layout,
    .yk-art-detail-layout {
        grid-template-columns: 1fr;
    }
    .yk-art-aside,
    .yk-art-detail-aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
        margin-top: 10px;
    }
    .yk-art-feed__head {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 680px) {
    .yk-art-breadcrumb {
        margin-bottom: 14px;
    }
    .yk-art-feed__head h1 {
        font-size: 27px;
    }
    .yk-art-entry {
        grid-template-columns: 168px minmax(0, 1fr);
        gap: 15px;
        min-height: 132px;
        padding: 18px 0;
    }
    .yk-art-entry h2 {
        margin: 6px 0;
        font-size: 18px;
    }
    .yk-art-entry__body > p {
        -webkit-line-clamp: 1;
    }
    .yk-art-reading {
        padding: 24px;
    }
    .yk-art-reading__head h1 {
        font-size: 28px;
    }
    .yk-art-reading__content {
        font-size: 16px;
        line-height: 1.9;
    }
    .yk-art-related__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .yk-art-shell {
        width: calc(100% - 24px);
        padding-bottom: 36px;
    }
    .yk-art-channels {
        flex-wrap: nowrap;
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .yk-art-channels::-webkit-scrollbar {
        display: none;
    }
    .yk-art-channels a {
        flex: 0 0 auto;
    }
    .yk-art-entry {
        grid-template-columns: 122px minmax(0, 1fr);
        gap: 12px;
        min-height: 98px;
        padding: 15px 0;
    }
    .yk-art-entry__media {
        aspect-ratio: 4 / 3;
    }
    .yk-art-entry__media > span,
    .yk-art-entry__body > p,
    .yk-art-entry__foot > a {
        display: none;
    }
    .yk-art-entry__meta {
        gap: 6px;
    }
    .yk-art-entry__meta time:before {
        margin-right: 5px;
    }
    .yk-art-entry h2 {
        margin: 5px 0 2px;
        font-size: 16px;
        line-height: 1.42;
    }
    .yk-art-entry__foot {
        margin-top: 3px;
        padding-top: 0;
    }
    .yk-art-aside,
    .yk-art-detail-aside {
        grid-template-columns: 1fr;
    }
    .yk-art-pagination {
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .yk-art-pagination .page {
        flex-wrap: nowrap;
        width: max-content;
    }
    .yk-art-pagination .page_tips {
        display: none;
    }
    .yk-art-reading {
        padding: 20px 16px 24px;
    }
    .yk-art-reading__head h1 {
        font-size: 24px;
        line-height: 1.42;
    }
    .yk-art-reading__lead {
        padding: 13px;
    }
    .yk-art-reading__content {
        padding-top: 24px;
    }
    .yk-art-neighbor {
        grid-template-columns: 1fr;
    }
    .yk-art-neighbor > :nth-child(2) {
        text-align: left;
    }
}
