@charset "UTF-8";

:root {
    --bg: #101112;
    --surface: #191a1c;
    --surface2: #202123;
    --line: #ffffff10;
    --text: #f2f1ed;
    --muted: #8e8f92;
    --gold: #d4b585;
    --gold-light: #edcf9e;
    --radius: 12px;
    --max: 1440px;
    color-scheme: dark
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 14px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
select {
    font: inherit
}

button,
a,
input {
    -webkit-tap-highlight-color: transparent
}

button {
    cursor: pointer;
    color: inherit
}

button:disabled {
    cursor: not-allowed;
    opacity: .45
}

button,
input,
select {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 8px
}

input,
select {
    color: var(--text);
    padding: 11px 14px;
    min-width: 0
}

button {
    padding: 9px 15px
}

button:hover,
a:hover {
    color: var(--gold-light)
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px
}

img {
    max-width: 100%;
    display: block
}

h1,
h2,
h3,
p {
    margin: 0
}

h1,
h2,
h3 {
    font-weight: 600
}

h1 {
    font-size: 38px;
    line-height: 1.35
}

h2 {
    font-size: 25px;
    letter-spacing: .5px
}

h3 {
    font-size: 16px
}

small,
.muted {
    color: var(--muted)
}

.wrap {
    width: min(calc(100% - 96px), var(--max));
    margin-inline: auto
}

.icon {
    width: 21px;
    height: 21px;
    display: inline-block;
    vertical-align: middle;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0
}

.skip {
    position: fixed;
    top: -80px;
    left: 20px;
    z-index: 100;
    background: var(--gold);
    color: #181818;
    padding: 12px
}

.skip:focus {
    top: 12px
}

.topbar {
    height: 86px;
    position: relative;
    z-index: 30;
    border-bottom: 1px solid #ffffff06;
    background: #101112f5
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 42px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap
}

.brand-mark {
    width: 34px;
    height: 37px;
    background: linear-gradient(135deg, #e3c795, #b28e5c);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    position: relative
}

.brand-mark:after {
    content: "";
    position: absolute;
    inset: 9px 13px 9px 7px;
    background: #101112;
    clip-path: polygon(0 0, 100% 50%, 0 100%)
}

.brand-name {
    font-family: "Songti SC", "SimSun", serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 4px
}

.brand-en {
    font-size: 9px;
    letter-spacing: 3.5px;
    display: block;
    line-height: 1.1;
    color: var(--gold)
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    height: 100%;
    white-space: nowrap
}

.desktop-nav a {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    color: #aaa
}

.desktop-nav a.active {
    color: var(--gold);
    font-weight: 600
}

.desktop-nav a.active:after {
    content: "";
    position: absolute;
    bottom: 17px;
    left: 25%;
    right: 25%;
    height: 2px;
    background: var(--gold)
}

.header-right {
    margin-left: auto;
    display: flex;
    gap: 22px;
    align-items: center
}

.search-box {
    display: flex;
    align-items: center;
    width: 240px;
    background: #222325;
    border: 1px solid #ffffff08;
    border-radius: 50px;
    padding: 0 7px 0 16px
}

.search-box input {
    background: none;
    border: 0;
    outline: none;
    width: 100%;
    padding: 9px 0;
    font-size: 12px
}

.search-box button {
    background: none;
    border: 0;
    padding: 7px;
    color: var(--gold)
}

.header-action {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    white-space: nowrap
}

.header-action .icon {
    width: 19px
}

.hero {
    position: relative;
    min-height: 530px;
    overflow: hidden;
    background: #121719
}

.hero-slide {
    position: relative;
    min-height: 530px;
    display: flex;
    align-items: center
}

.hero-slide[hidden] {
    display: none
}

.hero-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 34%
}

.hero-slide:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #101112 0%, #101112dc 18%, #1011124a 48%, #1011120a 72%), linear-gradient(0deg, #101112 0%, transparent 35%)
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding-top: 18px;
    padding-bottom: 68px
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--gold);
    display: flex;
    gap: 12px;
    align-items: center
}

.eyebrow:before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--gold)
}

.hero-copy h1 {
    font-family: "Songti SC", "SimSun", serif;
    font-weight: 500;
    font-size: 62px;
    letter-spacing: 7px;
    margin: 18px 0 12px;
    max-width: 700px
}

.hero-sub {
    font-size: 18px;
    letter-spacing: 3px;
    color: #d4d1cb;
    margin-bottom: 18px
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: #a4a4a5;
    font-size: 12px
}

.meta>*+*:before {
    content: "·";
    margin-right: 10px;
    color: #666
}

.meta .rating {
    color: var(--gold);
    font-size: 16px;
    font-weight: 700
}

.hero-description {
    color: #a6a6a6;
    max-width: 415px;
    font-size: 13px;
    line-height: 1.9;
    margin-top: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 10px 23px;
    border: 1px solid #ffffff16;
    border-radius: 7px;
    background: #ffffff09;
    color: #dedede;
    white-space: nowrap
}

.btn-primary {
    background: var(--gold);
    border-color: var(--gold);
    color: #201c15;
    font-weight: 600
}

.btn-primary:hover {
    background: var(--gold-light);
    color: #181512
}

.hero-controls {
    position: absolute;
    z-index: 4;
    bottom: 44px;
    right: 48px;
    display: flex;
    align-items: center;
    gap: 8px
}

.hero-controls button {
    width: 25px;
    height: 4px;
    min-height: 0;
    border: 0;
    border-radius: 2px;
    background: #ffffff40;
    padding: 0
}

.hero-controls button.active {
    width: 44px;
    background: var(--gold)
}

.hero-controls .hero-caption {
    font: 11px/1 Arial;
    color: #aaa;
    margin-right: 10px;
    letter-spacing: 2px
}

.channel-strip {
    display: grid;
    grid-template-columns: 1.1fr repeat(6, 1fr);
    gap: 12px;
    padding: 12px 0 30px;
    border-bottom: 1px solid var(--line)
}

.channel {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    border-radius: 8px;
    transition: background .2s
}

.channel:hover {
    background: #ffffff05
}

.channel .icon {
    color: var(--gold);
    width: 26px;
    height: 26px
}

.channel b {
    display: block;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap
}

.channel small {
    font-size: 11px
}

.channel:first-child {
    background: #d4b5850a
}

.section {
    margin-top: 36px
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px
}

.section-heading .kicker {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 1px
}

.section-heading .more {
    margin-left: auto;
    font-size: 12px;
    color: #a6a5a2;
    display: flex;
    align-items: center;
    gap: 5px
}

.section-heading .more .icon {
    width: 15px
}

.tabs {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap
}

.tabs a,
.tabs button {
    font-size: 13px;
    color: #999;
    border: 0;
    background: none;
    padding: 5px 0
}

.tabs .active {
    color: var(--gold)
}

.poster-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 20px
}

.drama-card {
    min-width: 0
}

.poster {
    display: block;
    position: relative;
    aspect-ratio: 2/2.8;
    border-radius: 9px;
    overflow: hidden;
    background: #252629
}

.poster>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s
}

.poster:after {
    content: "";
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(transparent, #0009);
    pointer-events: none
}

.poster:hover>img,
.poster:hover>.sample-poster {
    transform: scale(1.045)
}

.sample-poster {
    position: absolute;
    inset: 0;
    background-image: url('posters.png');
    background-size: 600% 100%;
    background-position: var(--pos) center;
    transition: transform .45s
}

.poster-title {
    position: absolute;
    z-index: 2;
    bottom: 36px;
    left: 0;
    right: 0;
    text-align: center;
    font: 28px/1.4 "Songti SC", "SimSun", serif;
    letter-spacing: 4px;
    color: #fff8e8;
    text-shadow: 0 2px 8px #000
}

.poster-badge {
    position: absolute;
    top: 9px;
    left: 9px;
    background: #1b1b1bbd;
    backdrop-filter: blur(5px);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 10px;
    z-index: 2;
    color: #e7d4b4
}

.poster-badge.hot {
    background: #b48b55;
    color: #fff
}

.poster-note {
    position: absolute;
    bottom: 9px;
    right: 10px;
    z-index: 2;
    font-size: 11px;
    color: #eee
}

.poster-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 3;
    opacity: 0;
    transition: opacity .2s;
    background: #0002
}

.poster-play .icon {
    width: 45px;
    height: 45px;
    padding: 10px;
    border: 1px solid #fff8;
    border-radius: 50%;
    background: #0004;
    color: white
}

.poster:hover .poster-play {
    opacity: 1
}

.card-title {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    margin-top: 11px;
    align-items: center
}

.card-title h3 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 15px;
    font-weight: 500
}

.card-title .score {
    color: var(--gold);
    font: italic 16px Georgia, serif
}

.card-sub {
    font-size: 11px;
    color: #77797e;
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.editorial {
    margin-top: 38px;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 28px 35px;
    border: 1px solid #c8a96b25;
    border-radius: 10px;
    background: radial-gradient(ellipse at 85% 50%, #62503333, transparent 60%), #191817;
    position: relative;
    overflow: hidden
}

.editorial .editorial-number {
    font: italic 60px/1 Georgia, serif;
    color: #c9ae763d
}

.editorial .eyebrow {
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 7px
}

.editorial h2 {
    font: 24px "Songti SC", "SimSun", serif;
    letter-spacing: 2px
}

.editorial p {
    font-size: 12px;
    color: #8f8d86;
    margin-top: 8px
}

.editorial>.btn {
    margin-left: auto;
    border-color: #d4b58550;
    color: var(--gold);
    background: none
}

.ranking-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px
}

.ranking-panel {
    padding: 24px;
    background: #191a1b;
    border: 1px solid var(--line);
    border-radius: 10px
}

.ranking-title {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 22px
}

.ranking-title .icon {
    color: var(--gold)
}

.ranking-title h3 {
    font-size: 19px
}

.ranking-title small {
    margin-left: auto;
    font-size: 10px
}

.rank-item {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 18px
}

.rank-no {
    font: italic 22px Georgia, serif;
    width: 20px;
    flex-shrink: 0;
    color: #67696b
}

.rank-item:nth-child(-n+4) .rank-no {
    color: var(--gold)
}

.rank-thumb {
    width: 46px;
    height: 61px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    flex-shrink: 0
}

.rank-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.rank-info {
    min-width: 0;
    flex: 1
}

.rank-info h3 {
    font-size: 13px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 500
}

.rank-info small {
    font-size: 10px
}

.rank-item>span:last-child {
    font-size: 11px;
    color: #b69c74
}

.footer {
    margin-top: 65px;
    border-top: 1px solid var(--line);
    padding: 36px 0 25px
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.footer-description {
    font-size: 12px;
    color: #777;
    margin-top: 12px
}

.footer-links {
    display: flex;
    gap: 26px;
    font-size: 12px;
    color: #999
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #585a5d;
    font-size: 10px;
    border-top: 1px solid var(--line);
    margin-top: 27px;
    padding-top: 20px;
    letter-spacing: .5px
}

.mobile-nav {
    display: none
}

.back-top {
    position: fixed;
    right: 18px;
    bottom: 35px;
    width: 38px;
    height: 38px;
    padding: 7px;
    background: #242527d9;
    z-index: 20
}

.page-head {
    padding: 43px 0 28px
}

.page-head .eyebrow {
    margin-bottom: 10px
}

.page-head p {
    color: var(--muted);
    margin-top: 10px;
    font-size: 13px
}

.breadcrumbs {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #777;
    font-size: 12px;
    padding: 24px 0
}

.breadcrumbs .icon {
    width: 13px
}

.filter-panel {
    padding: 24px 28px;
    background: #191a1b;
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 30px
}

.filter-row {
    display: flex;
    gap: 24px;
    align-items: baseline;
    margin: 6px 0 17px
}

.filter-row:last-child {
    margin-bottom: 3px
}

.filter-label {
    color: #74767c;
    min-width: 35px;
    font-size: 12px
}

.filter-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.filter-options a {
    padding: 4px 14px;
    font-size: 13px;
    color: #aaa;
    border-radius: 5px
}

.filter-options a.active {
    color: var(--gold);
    background: #d4b58515
}

.results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 26px 0
}

.results-toolbar small {
    font-size: 12px
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0 15px;
    flex-wrap: wrap
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 37px;
    height: 37px;
    padding: 0 11px;
    border-radius: 5px;
    background: #1e1f21;
    color: #929499
}

.pagination .active {
    background: var(--gold);
    color: #181818
}

.pagination .page-total {
    background: none;
    font-size: 11px
}

.empty-state {
    text-align: center;
    padding: 70px 20px;
    border: 1px dashed #ffffff18;
    border-radius: 10px;
    grid-column: 1/-1;
    color: #999
}

.empty-state .icon {
    width: 36px;
    height: 36px;
    color: var(--gold);
    margin-bottom: 15px
}

.empty-state h2 {
    color: #ccc;
    font-size: 20px;
    margin-bottom: 8px
}

.empty-state p {
    font-size: 13px
}

.empty-state .btn {
    margin-top: 20px
}

.detail-hero {
    position: relative;
    overflow: hidden;
    background: #161819;
    border-bottom: 1px solid var(--line)
}

.detail-glow {
    position: absolute;
    inset: 0;
    opacity: .11;
    background: url('hero.png') center 30%/cover;
    filter: blur(20px);
    pointer-events: none
}

.detail-main {
    display: flex;
    position: relative;
    gap: 42px;
    padding: 12px 0 45px
}

.detail-cover {
    width: 200px;
    flex-shrink: 0
}

.detail-cover .poster {
    aspect-ratio: 2/2.9
}

.detail-info {
    padding-top: 9px;
    max-width: 790px
}

.detail-info h1 {
    margin: 12px 0 15px;
    font-family: "Songti SC", "SimSun", serif;
    letter-spacing: 3px;
    font-size: 42px
}

.detail-info .description {
    line-height: 1.9;
    color: #aaa;
    margin: 18px 0;
    font-size: 13px;
    max-width: 680px
}

.detail-facts {
    font-size: 12px;
    color: #7e8186;
    line-height: 2
}

.detail-rating {
    margin-left: auto;
    align-self: center;
    text-align: center;
    flex-shrink: 0
}

.detail-rating strong {
    font: italic 54px Georgia, serif;
    color: var(--gold)
}

.detail-rating span {
    display: block;
    font-size: 11px;
    color: #888
}

.content-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 34px
}

.panel {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #18191b;
    padding: 25px
}

.source-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.source-tabs button {
    padding: 8px 20px;
    background: #252629;
    color: #b6b6b6
}

.source-tabs button.active {
    background: #d4b58517;
    border-color: #d4b58560;
    color: var(--gold)
}

.episode-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 22px 0 15px;
    color: #818389;
    font-size: 12px;
    gap: 12px
}

.episode-toolbar button {
    background: none;
    border: 0;
    color: #9b9c9e;
    font-size: 12px;
    padding: 4px
}

.episode-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 9px;
    max-height: 370px;
    overflow: auto;
    scrollbar-width: thin
}

.episode-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    background: #242527;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 12px;
    color: #b6b8bc;
    padding: 7px 3px;
    word-break: break-all;
    text-align: center
}

.episode-grid a.active {
    color: var(--gold);
    border-color: #d4b58570;
    background: #d4b58514
}

.episode-grid a:hover {
    border-color: var(--gold);
    color: var(--gold)
}

.plot {
    margin-top: 30px;
    color: #96999d;
    line-height: 2;
    font-size: 13px
}

.plot h2 {
    font-size: 21px;
    color: #ddd;
    margin-bottom: 12px
}

.aside-title {
    font-size: 18px;
    margin: 5px 0 22px
}

.player-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: #08090a
}

.player-stage {
    aspect-ratio: 16/9;
    position: relative;
    min-width: 0;
    background: #050606;
    display: flex;
    align-items: center;
    justify-content: center
}

.player-stage>iframe,
.player-stage>video,
.player-stage .MacPlayer,
.player-stage #player {
    width: 100% !important;
    height: 100% !important;
    border: 0
}

.player-stage .MacPlayer table,
.player-stage .MacPlayer iframe {
    width: 100% !important;
    height: 100% !important
}

.player-side {
    background: #1b1c1e;
    padding: 23px;
    min-width: 0;
    max-height: 590px;
    overflow: auto
}

.player-side h2 {
    font-size: 21px;
    margin-bottom: 4px
}

.player-side .source-tabs {
    margin-top: 20px
}

.player-side .episode-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-height: 335px
}

.player-side .episode-toolbar {
    margin-top: 15px
}

.player-side .source-tabs button {
    padding: 6px 12px;
    font-size: 11px
}

.player-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap
}

.player-bottom .actions {
    margin: 0
}

.player-bottom h1 {
    font-size: 21px
}

.player-bottom .btn {
    padding: 8px 16px;
    min-height: 37px;
    font-size: 12px
}

.sample-player {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    background: linear-gradient(#050709ba, #050709ee), url('hero.png') center/cover;
    text-align: center;
    padding: 20px
}

.sample-player .big-play {
    border: 1px solid #d4b58570;
    border-radius: 50%;
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    color: var(--gold);
    background: #d4b58510
}

.sample-player .big-play .icon {
    width: 28px;
    height: 28px
}

.sample-player p {
    color: #777;
    font-size: 12px
}

.sample-player h3 {
    font-size: 22px;
    font-weight: 400
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.topic-card {
    position: relative;
    min-height: 215px;
    overflow: hidden;
    border-radius: 10px;
    background: #272425;
    display: flex;
    align-items: flex-end
}

.topic-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.topic-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, #080a0cf5)
}

.topic-copy {
    position: relative;
    z-index: 2;
    padding: 24px
}

.topic-copy h2 {
    font-family: "Songti SC", "SimSun", serif;
    font-size: 26px;
    letter-spacing: 2px
}

.topic-copy p {
    font-size: 12px;
    color: #beb4a5;
    margin-top: 7px
}

.topic-card:nth-child(2) {
    background: linear-gradient(135deg, #304837, #101b16)
}

.topic-card:nth-child(3) {
    background: linear-gradient(135deg, #482d2b, #241318)
}

.local-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px
}

.auth-layout {
    min-height: 590px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: linear-gradient(90deg, #10111240, #101112 70%), url('hero.png') left center/cover
}

.auth-intro {
    align-self: center;
    padding: 80px
}

.auth-intro h1 {
    font-family: "Songti SC", "SimSun", serif;
    font-size: 46px;
    letter-spacing: 4px
}

.auth-intro p {
    color: #a19c92;
    margin-top: 15px
}

.auth-card {
    align-self: center;
    justify-self: center;
    width: min(380px, calc(100% - 32px));
    padding: 32px;
    border: 1px solid var(--line);
    background: #1b1c1eea;
    border-radius: 12px
}

.auth-card h1 {
    font-size: 25px;
    margin-bottom: 5px
}

.auth-card>p {
    font-size: 12px;
    color: #888;
    margin-bottom: 25px
}

.form-field {
    display: block;
    margin-top: 16px;
    font-size: 12px;
    color: #aaa
}

.form-field input {
    display: block;
    width: 100%;
    margin-top: 7px;
    background: #121315
}

.auth-card .btn-primary {
    width: 100%;
    margin-top: 24px
}

.auth-links {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 18px;
    color: var(--gold)
}

.form-message {
    font-size: 12px;
    color: var(--gold);
    margin-top: 12px;
    min-height: 20px
}

.verify-row {
    display: flex;
    gap: 10px;
    align-items: center
}

.verify-row input {
    width: 100%
}

.verify-row img {
    cursor: pointer;
    height: 40px;
    max-width: 120px;
    border-radius: 4px
}

.prose {
    max-width: 900px;
    margin: 40px auto;
    line-height: 2;
    color: #aaa
}

.prose h1,
.prose h2 {
    color: #e7e4de;
    margin: 20px 0 10px
}

.prose h2 {
    font-size: 21px
}

.prose p {
    margin: 10px 0
}

.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    padding: 11px 24px;
    border: 1px solid #d4b58555;
    background: #25221eee;
    color: #ead3ad;
    border-radius: 8px;
    z-index: 100;
    font-size: 13px;
    max-width: 90%;
    text-align: center
}

.notice {
    background: #d4b5850a;
    border: 1px solid #d4b58525;
    color: #b1a38f;
    border-radius: 8px;
    padding: 12px 17px;
    font-size: 12px;
    margin: 20px 0
}

.search-large {
    display: flex;
    max-width: 680px;
    gap: 10px;
    margin-top: 20px
}

.search-large input {
    flex: 1
}

.search-large button {
    padding: 10px 25px
}

.hidden,
[hidden] {
    display: none !important
}

.lights-out .topbar,
.lights-out .breadcrumbs,
.lights-out .footer,
.lights-out main>.section {
    opacity: .13
}

.lights-out .player-layout {
    box-shadow: 0 0 0 100vmax #000b;
    position: relative;
    z-index: 35
}

.lights-out .player-bottom {
    position: relative;
    z-index: 36
}

.loading {
    padding: 45px;
    text-align: center;
    color: var(--muted)
}

@media(min-width:1700px) {

    .hero,
    .hero-slide {
        min-height: 600px
    }

    .hero-copy h1 {
        font-size: 72px
    }

    .hero-controls {
        right: calc((100vw - 1440px)/2)
    }
}

@media(max-width:1250px) {
    .wrap {
        width: calc(100% - 64px)
    }

    .header-inner {
        gap: 28px
    }

    .desktop-nav {
        gap: 22px
    }

    .header-right {
        gap: 16px
    }

    .search-box {
        width: 200px
    }

    .header-action span {
        display: none
    }

    .hero,
    .hero-slide {
        min-height: 490px
    }

    .hero-copy h1 {
        font-size: 54px
    }

    .channel-strip {
        gap: 3px
    }

    .channel {
        padding: 12px 7px;
        gap: 8px
    }

    .channel small {
        font-size: 10px
    }

    .poster-grid {
        gap: 20px 15px
    }

    .poster-title {
        font-size: 24px
    }

    .content-columns {
        grid-template-columns: minmax(0, 1fr) 270px
    }

    .player-layout {
        grid-template-columns: minmax(0, 1fr) 285px
    }

    .player-side {
        padding: 18px
    }

    .player-side .episode-grid {
        max-height: 250px
    }

    .ranking-panel {
        padding: 20px
    }
}

@media(max-width:1000px) {
    .wrap {
        width: calc(100% - 40px)
    }

    .header-inner {
        gap: 24px
    }

    .desktop-nav {
        gap: 18px
    }

    .header-right .header-action {
        display: none
    }

    .search-box {
        width: 185px
    }

    .hero-copy h1 {
        font-size: 49px
    }

    .hero-slide:after {
        background: linear-gradient(90deg, #101112ee, #10111266 55%, #10111211), linear-gradient(0deg, #101112, transparent 50%)
    }

    .channel-strip {
        grid-template-columns: repeat(4, 1fr)
    }

    .channel:nth-child(n+5) {
        display: none
    }

    .poster-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }

    .home-picks .drama-card:nth-child(n+5) {
        display: none
    }

    .ranking-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .ranking-panel:last-child {
        display: none
    }

    .content-columns {
        grid-template-columns: 1fr
    }

    .detail-rating {
        display: none
    }

    .content-columns aside {
        display: none
    }

    .player-layout {
        grid-template-columns: 1fr
    }

    .player-side {
        max-height: none;
        padding: 22px
    }

    .player-side .episode-grid {
        grid-template-columns: repeat(10, minmax(0, 1fr));
        max-height: 190px
    }

    .player-side .source-tabs {
        margin-top: 14px
    }

    .topic-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .auth-intro {
        padding: 40px
    }

    .auth-intro h1 {
        font-size: 36px
    }

    .footer-links {
        gap: 18px
    }
}

@media(max-width:700px) {
    body {
        font-size: 13px
    }

    .wrap {
        width: calc(100% - 32px)
    }

    .topbar {
        height: 66px
    }

    .header-inner {
        gap: 12px
    }

    .brand-mark {
        width: 25px;
        height: 29px
    }

    .brand-name {
        font-size: 22px;
        letter-spacing: 3px
    }

    .brand-en {
        font-size: 7px;
        letter-spacing: 2.4px
    }

    .brand {
        gap: 8px
    }

    .desktop-nav {
        display: none
    }

    .header-right {
        gap: 0;
        flex: 1;
        margin-left: 14px
    }

    .search-box {
        width: 100%;
        max-width: 240px;
        margin-left: auto;
        padding-left: 13px
    }

    .search-box input {
        font-size: 11px
    }

    .search-box button {
        padding: 6px
    }

    .hero,
    .hero-slide {
        min-height: 475px
    }

    .hero-art {
        object-position: 65% top
    }

    .hero-slide:after {
        background: linear-gradient(0deg, #101112 0%, #101112e0 18%, #10111250 60%, #10111205), linear-gradient(90deg, #10111265, transparent)
    }

    .hero-copy {
        padding-top: 187px;
        padding-bottom: 55px;
        align-self: flex-end
    }

    .hero-copy h1 {
        font-size: 39px;
        letter-spacing: 5px;
        margin: 10px 0
    }

    .hero-sub {
        font-size: 13px;
        margin-bottom: 12px;
        letter-spacing: 2px
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: 2px
    }

    .hero-description {
        font-size: 11px;
        max-width: 90%;
        margin-top: 12px;
        -webkit-line-clamp: 1
    }

    .meta {
        font-size: 10px;
        gap: 8px
    }

    .meta>*+*:before {
        margin-right: 8px
    }

    .meta .rating {
        font-size: 14px
    }

    .hero-copy .actions {
        margin-top: 19px
    }

    .btn {
        min-height: 40px;
        padding: 8px 19px;
        font-size: 12px
    }

    .hero-controls {
        right: 18px;
        bottom: 23px
    }

    .hero-controls .hero-caption {
        font-size: 9px
    }

    .hero-controls button {
        width: 18px;
        height: 3px
    }

    .hero-controls button.active {
        width: 29px
    }

    .channel-strip {
        padding: 3px 0 18px;
        gap: 2px
    }

    .channel {
        flex-direction: column;
        gap: 4px;
        text-align: center;
        padding: 11px 3px;
        background: none !important
    }

    .channel .icon {
        width: 24px;
        height: 24px
    }

    .channel b {
        font-size: 12px
    }

    .channel small {
        font-size: 9px
    }

    .section {
        margin-top: 27px
    }

    .section-heading {
        gap: 12px;
        margin-bottom: 15px
    }

    .section-heading h2 {
        font-size: 20px
    }

    .section-heading .kicker {
        display: none
    }

    .section-heading .more {
        font-size: 11px
    }

    .section-heading .tabs {
        gap: 13px;
        margin-left: 0
    }

    .section-heading .tabs a {
        font-size: 11px
    }

    .poster-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 10px
    }

    .home-picks .drama-card:nth-child(n+5) {
        display: block
    }

    .poster {
        border-radius: 6px;
        aspect-ratio: 2/3
    }

    .poster-title {
        font-size: 18px;
        letter-spacing: 2px;
        bottom: 29px
    }

    .poster-badge {
        top: 6px;
        left: 6px;
        font-size: 8px;
        padding: 1px 5px
    }

    .poster-note {
        font-size: 9px;
        bottom: 6px;
        right: 6px
    }

    .card-title {
        margin-top: 8px
    }

    .card-title h3 {
        font-size: 12px
    }

    .card-title .score {
        font-size: 13px
    }

    .card-sub {
        font-size: 9px;
        margin-top: 2px
    }

    .editorial {
        padding: 22px 18px;
        margin-top: 28px;
        gap: 13px
    }

    .editorial-number {
        display: none
    }

    .editorial h2 {
        font-size: 19px;
        letter-spacing: 1px
    }

    .editorial p {
        font-size: 10px;
        max-width: 180px
    }

    .editorial .eyebrow {
        font-size: 8px
    }

    .editorial>.btn {
        font-size: 10px;
        padding: 7px 12px;
        min-height: 34px
    }

    .ranking-grid {
        grid-template-columns: 1fr
    }

    .ranking-panel {
        padding: 20px
    }

    .ranking-panel:nth-child(n+2) {
        display: none
    }

    .ranking-title {
        margin-bottom: 12px
    }

    .ranking-title h3 {
        font-size: 17px
    }

    .rank-item {
        margin-top: 16px
    }

    .rank-thumb {
        width: 44px;
        height: 57px
    }

    .footer {
        margin-top: 36px;
        padding: 26px 0 100px
    }

    .footer-top {
        align-items: flex-start;
        gap: 20px
    }

    .footer .brand-name {
        font-size: 21px
    }

    .footer-description {
        font-size: 10px;
        max-width: 170px
    }

    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px 14px;
        font-size: 10px;
        padding-top: 5px
    }

    .footer-bottom {
        flex-direction: column;
        gap: 4px;
        font-size: 9px;
        margin-top: 20px;
        padding-top: 16px
    }

    .mobile-nav {
        display: flex;
        justify-content: space-around;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #151618f5;
        border-top: 1px solid #ffffff10;
        padding: 9px 0 max(9px, env(safe-area-inset-bottom));
        z-index: 40;
        backdrop-filter: blur(14px)
    }

    .mobile-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        color: #7f8288;
        font-size: 10px;
        min-width: 55px
    }

    .mobile-nav a.active {
        color: var(--gold)
    }

    .mobile-nav .icon {
        width: 21px;
        height: 21px
    }

    .back-top {
        bottom: 85px;
        right: 12px;
        width: 32px;
        height: 32px;
        padding: 5px
    }

    .page-head {
        padding: 30px 0 22px
    }

    .page-head h1 {
        font-size: 29px
    }

    .page-head p {
        font-size: 11px
    }

    .filter-panel {
        padding: 17px 13px
    }

    .filter-row {
        gap: 10px;
        margin: 3px 0 13px
    }

    .filter-label {
        font-size: 11px;
        min-width: 25px
    }

    .filter-options {
        gap: 4px
    }

    .filter-options a {
        padding: 4px 9px;
        font-size: 11px
    }

    .tabs {
        gap: 18px
    }

    .tabs a {
        font-size: 12px
    }

    .results-toolbar small {
        font-size: 10px
    }

    .pagination {
        gap: 5px
    }

    .pagination a,
    .pagination span {
        min-width: 31px;
        height: 32px;
        padding: 0 8px;
        font-size: 11px
    }

    .breadcrumbs {
        font-size: 10px;
        padding: 18px 0
    }

    .detail-main {
        gap: 18px;
        padding-bottom: 28px
    }

    .detail-cover {
        width: 114px
    }

    .detail-info {
        padding: 0;
        min-width: 0
    }

    .detail-info h1 {
        font-size: 27px;
        letter-spacing: 1px;
        margin: 8px 0 10px
    }

    .detail-info .eyebrow {
        font-size: 8px
    }

    .detail-info .description {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 11px;
        margin: 12px 0
    }

    .detail-facts {
        font-size: 10px
    }

    .detail-info .actions {
        gap: 8px;
        margin-top: 14px
    }

    .detail-info .btn {
        font-size: 11px;
        padding: 7px 11px;
        min-height: 34px
    }

    .detail-info .btn .icon {
        width: 15px;
        height: 15px
    }

    .panel {
        padding: 17px 14px
    }

    .episode-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 7px;
        max-height: 290px
    }

    .episode-grid a {
        font-size: 11px;
        min-height: 35px
    }

    .source-tabs button {
        font-size: 11px;
        padding: 7px 14px
    }

    .player-wrap {
        width: 100%
    }

    .player-wrap>.breadcrumbs,
    .player-wrap>.player-bottom,
    .player-wrap>.section {
        margin-inline: 16px
    }

    .player-layout {
        border-radius: 0;
        border-inline: 0
    }

    .player-stage {
        aspect-ratio: 16/10
    }

    .player-side {
        padding: 18px 16px
    }

    .player-side h2 {
        font-size: 19px
    }

    .player-side .episode-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        max-height: 185px
    }

    .player-bottom h1 {
        font-size: 18px
    }

    .player-bottom .btn {
        font-size: 10px;
        padding: 7px 11px;
        min-height: 33px
    }

    .player-bottom .actions {
        gap: 7px
    }

    .sample-player h3 {
        font-size: 18px
    }

    .sample-player p {
        font-size: 10px
    }

    .sample-player .big-play {
        width: 49px;
        height: 49px
    }

    .topic-grid {
        grid-template-columns: 1fr
    }

    .topic-card {
        min-height: 200px
    }

    .auth-layout {
        grid-template-columns: 1fr;
        min-height: 560px;
        background: linear-gradient(#10111250, #101112), url('hero.png') 65% top/cover
    }

    .auth-intro {
        padding: 30px 22px 15px
    }

    .auth-intro h1 {
        font-size: 28px
    }

    .auth-intro p {
        font-size: 12px;
        margin-top: 8px
    }

    .auth-card {
        margin: 20px 0 35px;
        padding: 25px
    }

    .prose {
        margin: 25px auto;
        font-size: 13px
    }

    .prose h1 {
        font-size: 28px
    }

    .toast {
        bottom: 85px;
        min-width: 180px
    }

    .search-large input {
        width: 0
    }

    .search-large button {
        padding-inline: 18px
    }

    .local-head {
        align-items: flex-start
    }

    .local-head button {
        font-size: 11px;
        padding: 7px 10px
    }

    .empty-state {
        padding: 45px 15px
    }

    .empty-state h2 {
        font-size: 18px
    }
}

.sample-poster {
    background-size: 600% auto;
    background-position: var(--pos) 32%
}

.full-ranks .ranking-panel {
    display: block
}

.hero-fallback {
    min-height: 530px;
    display: flex;
    align-items: center
}

.hero-fallback h1 {
    font-family: "Songti SC", "SimSun", serif;
    font-size: 52px;
    margin: 15px 0
}

.hero-fallback .btn {
    margin-top: 20px
}

.hero-fallback .hero-copy {
    padding-top: 60px
}

@media(max-width:700px) {
    .hero-fallback {
        min-height: 430px
    }

    .hero-fallback h1 {
        font-size: 35px
    }

    .hero-fallback .hero-copy {
        padding-top: 70px
    }

    .poster-title {
        font-size: 17px
    }

    .full-ranks .ranking-panel {
        display: block
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        transition: none !important;
        animation: none !important
    }
}

/* 好故事随时看好故事随时看好故事随时看??? */
.mobile-app-download {
    display: none;
}

@media (max-width: 700px) {
    :root {
        --mobile-nav-height: calc(46px + max(9px, env(safe-area-inset-bottom)));
        --mobile-app-height: 68px;
    }

    body {
        padding-bottom: calc(var(--mobile-nav-height) + var(--mobile-app-height));
    }

    .footer {
        padding-bottom: 26px;
    }

    .mobile-nav {
        height: var(--mobile-nav-height);
    }

    .mobile-app-download {
        display: block;
        position: fixed;
        bottom: var(--mobile-nav-height);
        left: 0;
        right: 0;
        height: var(--mobile-app-height);
        z-index: 40;
        padding: 8px 16px;
        border-top: 1px solid #d4b58530;
        background: #191a1cf5;
        backdrop-filter: blur(14px);
    }

    .mobile-app-link {
        display: flex;
        align-items: center;
        gap: 10px;
        height: 100%;
    }

    .mobile-app-icon {
        width: 32px;
        height: 32px;
        color: var(--gold);
    }

    .mobile-app-copy {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .mobile-app-copy strong {
        font-size: 13px;
        font-weight: 600;
    }

    .mobile-app-copy small {
        font-size: 10px;
    }

    .mobile-app-button {
        margin-left: auto;
        flex-shrink: 0;
        padding: 8px 14px;
        border-radius: 6px;
        background: var(--gold);
        color: #201c15;
        font-size: 12px;
        font-weight: 600;
    }

    .back-top,
    .toast {
        bottom: calc(var(--mobile-nav-height) + var(--mobile-app-height) + 12px);
    }
}
