:root {
    --bg: #080b10;
    --panel: #0f141c;
    --panel-2: #141b25;
    --line: #1f2834;
    --ink: #eef2f7;
    --text: #a3afbd;
    --muted: #6f7c8c;
    --brand: #3d8bfd;
    --brand-2: #6aa9ff;
    --cyan: #35d0d8;
    --gold: #f4b860;
    --red: #ff5a5f;
    --radius: 10px;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 14px/1.7 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

main {
    flex: 1;
}

a {
    color: var(--brand-2);
    text-decoration: none;
}

a:hover {
    color: #ffffff;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

button,
input {
    font: inherit;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 18px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-primary {
    background: var(--brand);
    color: #ffffff;
}

.btn-primary:hover {
    background: #2f7be8;
    color: #ffffff;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    color: #dbe3ec;
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.32);
    color: #ffffff;
}

.topbar {
    background: #05080b;
    border-bottom: 1px solid #131a23;
    font-size: 12px;
    color: #6e7b8a;
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 30px;
}

.topbar-links {
    display: flex;
    gap: 16px;
}

.topbar a {
    color: #6e7b8a;
}

.topbar a:hover {
    color: #c9d4e0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 11, 16, 0.9);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 66px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: linear-gradient(135deg, #4f9cff, #2358c9);
    box-shadow: 0 4px 14px rgba(61, 139, 253, 0.3);
}

.logo-text {
    margin: 0;
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0.5px;
    font-weight: 800;
    color: #ffffff;
}

.logo-text small {
    display: block;
    margin-top: 4px;
    font-size: 9px;
    line-height: 1;
    letter-spacing: 2px;
    color: #6f7c8c;
    font-weight: 400;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.main-nav a {
    padding: 7px 13px;
    border-radius: 6px;
    font-size: 14px;
    color: #aeb9c7;
}

.main-nav a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.main-nav a.active {
    color: #ffffff;
    background: rgba(61, 139, 253, 0.14);
}

.search-form {
    display: flex;
    align-items: stretch;
    width: 245px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #0c1118;
}

.search-form input {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 13px;
    color: #dbe3ec;
}

.search-form input::placeholder {
    color: #5c6876;
}

.search-form button {
    display: flex;
    align-items: center;
    padding: 0 12px;
    border: 0;
    background: transparent;
    color: #7d8a9a;
    cursor: pointer;
}

.search-form button:hover {
    color: var(--brand-2);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-actions .btn {
    padding: 7px 14px;
    font-size: 12.5px;
}

.btn-app {
    background: linear-gradient(135deg, #4f9cff, #2f6fe0);
    color: #ffffff;
    border: 0;
}

.btn-app:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #63a9ff, #3a7bec);
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #0c1118;
    color: #c8d2de;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    padding: 8px 18px 14px;
    border-top: 1px solid var(--line);
    background: #0b0f15;
}

.mobile-menu a {
    display: block;
    padding: 9px 10px;
    border-radius: 6px;
    font-size: 14px;
    color: #aeb9c7;
}

.mobile-menu a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.mobile-menu.open {
    display: block;
}

.hero {
    position: relative;
    height: 468px;
    margin-top: 20px;
    border-radius: 14px;
    overflow: hidden;
    background: #0c1118;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 9, 13, 0.95) 0%, rgba(6, 9, 13, 0.72) 42%, rgba(6, 9, 13, 0.1) 72%),
        linear-gradient(0deg, rgba(6, 9, 13, 0.85) 0%, rgba(6, 9, 13, 0) 55%);
}

.slide-content {
    position: absolute;
    left: 44px;
    bottom: 50px;
    z-index: 2;
    max-width: 590px;
}

.slide-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.chip {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(61, 139, 253, 0.2);
    border: 1px solid rgba(106, 169, 255, 0.35);
    color: #a9cdff;
    font-size: 11px;
    line-height: 1.8;
}

.chip.gold {
    background: rgba(244, 184, 96, 0.14);
    border-color: rgba(244, 184, 96, 0.32);
    color: var(--gold);
}

.slide-content h2 {
    margin-bottom: 10px;
    font-size: 42px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.slide-content h2 a {
    color: #ffffff;
}

.slide-content h2 a:hover {
    color: #cfe2ff;
}

.slide-desc {
    max-width: 560px;
    font-size: 14px;
    line-height: 1.85;
    color: #b9c6d6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slide-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    margin-top: 14px;
    font-size: 12.5px;
    color: #8b98a8;
}

.slide-score {
    color: var(--gold);
    font-weight: 700;
}

.slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.slide-actions .btn {
    padding: 10px 20px;
    font-size: 13.5px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-top: -19px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(6, 9, 13, 0.45);
    color: #ffffff;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s, background 0.2s;
}

.hero:hover .hero-arrow {
    opacity: 1;
}

.hero-arrow:hover {
    background: rgba(61, 139, 253, 0.75);
}

.hero-prev {
    left: 18px;
}

.hero-next {
    right: 18px;
}

.hero-dots {
    position: absolute;
    right: 28px;
    bottom: 26px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-dots button {
    width: 20px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.32);
    cursor: pointer;
    transition: width 0.25s, background 0.25s;
}

.hero-dots button.on {
    width: 34px;
    background: var(--brand-2);
}

.section {
    margin-top: 36px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
}

.section-title h2 {
    position: relative;
    padding-left: 12px;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
    color: #ffffff;
}

.section-title h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 3px;
    border-radius: 2px;
    background: var(--brand);
}

.section-title p {
    margin-top: 3px;
    padding-left: 12px;
    font-size: 12.5px;
    color: var(--muted);
}

.section-head .more {
    font-size: 13px;
    color: #7d8a9a;
    white-space: nowrap;
}

.section-head .more:hover {
    color: var(--brand-2);
}

.poster-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px 16px;
    margin-top: 16px;
}

.poster-grid.cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.poster {
    display: block;
    min-width: 0;
}

.poster-thumb {
    position: relative;
    aspect-ratio: 2 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: #151d28;
}

.poster-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.poster:hover .poster-thumb img {
    transform: scale(1.05);
}

.poster-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4, 7, 10, 0.55) 0%, rgba(4, 7, 10, 0) 45%);
    opacity: 0.85;
}

.poster-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(5, 8, 12, 0.72);
    color: #dbe6f2;
    font-size: 10.5px;
    line-height: 1.8;
    backdrop-filter: blur(4px);
}

.poster-badge.hot {
    background: rgba(255, 90, 95, 0.85);
    color: #ffffff;
}

.poster-score {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    padding: 1px 5px;
    border-radius: 4px;
    background: rgba(5, 8, 12, 0.55);
    color: var(--gold);
    font-size: 12.5px;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(3px);
}

.poster-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(3px);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.25s, transform 0.25s;
}

.poster:hover .poster-play {
    opacity: 1;
    transform: scale(1);
}

.poster-info {
    padding-top: 9px;
}

.poster-title {
    font-size: 14px;
    line-height: 1.5;
    color: #dde5ee;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s;
}

.poster:hover .poster-title {
    color: var(--brand-2);
}

.poster-sub {
    margin-top: 2px;
    font-size: 12px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bottom-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 322px;
    gap: 22px;
    align-items: start;
    margin-top: 36px;
}

.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.panel + .panel {
    margin-top: 20px;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 17px;
    border-bottom: 1px solid var(--line);
}

.panel-head h2 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.panel-head h2 span {
    margin-left: 7px;
    font-size: 11px;
    font-weight: 400;
    color: var(--muted);
}

.panel-head .more {
    font-size: 12px;
    color: var(--muted);
}

.panel-head .more:hover {
    color: var(--brand-2);
}

.update-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 96px 86px;
    gap: 12px;
    align-items: center;
    padding: 11px 17px;
    border-bottom: 1px solid #171f2a;
    font-size: 13px;
}

.update-row:last-child {
    border-bottom: 0;
}

.update-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.update-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.update-title a {
    color: #d7e0ea;
}

.update-title a:hover {
    color: var(--brand-2);
}

.update-ep {
    font-size: 12px;
    color: #8d9aab;
    text-align: right;
}

.update-time {
    font-size: 11.5px;
    color: #5f6c7b;
    text-align: right;
}

.rank-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    border-bottom: 1px solid #171f2a;
}

.rank-list li:last-child {
    border-bottom: 0;
}

.rank-no {
    width: 18px;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: #5c6878;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.rank-no.top {
    color: var(--brand-2);
}

.rank-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13.5px;
}

.rank-title a {
    color: #cfd8e3;
}

.rank-title a:hover {
    color: var(--brand-2);
}

.rank-score {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--gold);
}

.side-links li {
    padding: 8px 16px;
    border-bottom: 1px solid #171f2a;
    font-size: 13px;
}

.side-links li:last-child {
    border-bottom: 0;
}

.side-links a {
    color: #c5cfdb;
}

.side-links a:hover {
    color: var(--brand-2);
}

.side-links span {
    display: block;
    margin-top: 1px;
    font-size: 11.5px;
    color: var(--muted);
}

.crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    padding: 16px 0 0;
    font-size: 12px;
    color: #5f6c7b;
}

.crumb a {
    color: #7b8796;
}

.crumb a:hover {
    color: var(--brand-2);
}

.crumb .sep {
    margin: 0 6px;
    color: #3b4654;
}

.channel-head {
    margin-top: 16px;
    padding: 24px 26px;
    background: linear-gradient(120deg, #131b26 0%, #0f141c 62%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.channel-head h1 {
    font-size: 28px;
    line-height: 1.4;
    font-weight: 800;
    color: #ffffff;
}

.channel-head p {
    margin-top: 6px;
    max-width: 700px;
    font-size: 13px;
    line-height: 1.8;
    color: #8b98a8;
}

.channel-head .channel-count {
    margin-top: 10px;
    font-size: 12px;
    color: #5f6c7b;
}

.channel-head .channel-count b {
    color: var(--brand-2);
    font-weight: 600;
}

.filter-bar {
    margin-top: 18px;
    padding: 6px 20px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.filter-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid #171f2a;
    font-size: 13px;
}

.filter-row:last-child {
    border-bottom: 0;
}

.filter-label {
    flex-shrink: 0;
    width: 56px;
    padding-top: 3px;
    color: #5f6c7b;
}

.filter-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
}

.filter-links a {
    padding: 2px 10px;
    border-radius: 5px;
    color: #9ba8b7;
}

.filter-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.filter-links a.on {
    color: #ffffff;
    background: rgba(61, 139, 253, 0.2);
}

.list-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 302px;
    gap: 24px;
    align-items: start;
    margin-top: 24px;
}

.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 28px;
    padding-bottom: 4px;
}

.pager a,
.pager span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 13px;
    color: #9ba8b7;
}

.pager a:hover {
    border-color: #33507a;
    color: #ffffff;
}

.pager .current {
    background: var(--brand);
    border-color: var(--brand);
    color: #ffffff;
}

.pager .disabled {
    color: #465261;
    background: #0c1118;
}

.detail-card {
    margin-top: 16px;
    padding: 24px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.detail-head {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 26px;
}

.detail-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    border-radius: 9px;
    overflow: hidden;
    background: #151d28;
}

.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-score-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 3px 9px;
    border-radius: 5px;
    background: rgba(5, 8, 12, 0.78);
    color: var(--gold);
    font-size: 15px;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.detail-info {
    min-width: 0;
}

.detail-info h1 {
    font-size: 32px;
    line-height: 1.35;
    font-weight: 800;
    color: #ffffff;
}

.detail-alias {
    margin-top: 4px;
    font-size: 13px;
    color: #6f7c8c;
}

.detail-rating {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 14px;
}

.detail-rating strong {
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
    color: var(--gold);
}

.detail-rating span {
    font-size: 12px;
    color: var(--muted);
}

.detail-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 22px;
    margin-top: 18px;
    font-size: 13px;
}

.detail-meta div {
    display: flex;
    gap: 8px;
    min-width: 0;
}

.detail-meta dt {
    flex-shrink: 0;
    width: 44px;
    color: #6f7c8c;
}

.detail-meta dd {
    margin: 0;
    min-width: 0;
    color: #c2ccd8;
    overflow: hidden;
    text-overflow: ellipsis;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}

.detail-tags a {
    padding: 2px 9px;
    border: 1px solid #263140;
    border-radius: 4px;
    font-size: 12px;
    color: #93a1b1;
}

.detail-tags a:hover {
    border-color: #33507a;
    color: var(--brand-2);
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 302px;
    gap: 24px;
    align-items: start;
    margin-top: 20px;
}

.detail-body {
    padding: 20px 22px;
}

.detail-body h2 {
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
}

.detail-body p {
    font-size: 13.5px;
    line-height: 2;
    color: #9eabba;
}

.play-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.play-list a {
    padding: 7px 15px;
    border: 1px solid #263140;
    border-radius: 6px;
    background: #0d1219;
    font-size: 13px;
    color: #b7c3d1;
}

.play-list a:hover {
    border-color: #33507a;
    color: #ffffff;
}

.play-list a.primary {
    background: var(--brand);
    border-color: var(--brand);
    color: #ffffff;
}

.play-list a.primary:hover {
    background: #2f7be8;
}

.play-tip {
    margin-top: 12px;
    font-size: 12px;
    color: #5f6c7b;
}

.rank-head {
    margin-top: 16px;
    padding: 24px 26px 0;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.rank-head h1 {
    font-size: 28px;
    line-height: 1.4;
    font-weight: 800;
    color: #ffffff;
}

.rank-head p {
    margin-top: 6px;
    font-size: 13px;
    color: #8b98a8;
}

.rank-tabs {
    display: flex;
    gap: 24px;
    margin-top: 18px;
    border-top: 1px solid var(--line);
}

.rank-tabs button {
    padding: 13px 0;
    margin-bottom: -1px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    font-size: 14px;
    color: #7d8a9a;
    cursor: pointer;
}

.rank-tabs button:hover {
    color: #c5cfdb;
}

.rank-tabs button.on {
    color: #ffffff;
    border-bottom-color: var(--brand);
}

.rank-panel {
    margin-top: 18px;
}

.rank-row {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 80px 76px;
    gap: 14px;
    align-items: center;
    padding: 13px 18px;
    border-bottom: 1px solid #171f2a;
}

.rank-row:last-child {
    border-bottom: 0;
}

.rank-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.rank-row .big-no {
    font-size: 22px;
    font-weight: 800;
    color: #465261;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.rank-row .big-no.top1 {
    color: var(--gold);
}

.rank-row .big-no.top2 {
    color: #c8d5e4;
}

.rank-row .big-no.top3 {
    color: #c9945c;
}

.rank-row .rank-name {
    min-width: 0;
}

.rank-row .rank-name a {
    display: block;
    font-size: 15px;
    color: #e2e9f2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-row .rank-name a:hover {
    color: var(--brand-2);
}

.rank-row .rank-name span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #6f7c8c;
}

.rank-row .rank-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--gold);
    text-align: right;
}

.rank-row .rank-trend {
    font-size: 12px;
    color: #5f6c7b;
    text-align: right;
}

.rank-row .rank-trend.up {
    color: var(--cyan);
}

.site-footer {
    margin-top: 48px;
    padding-top: 34px;
    background: #06090d;
    border-top: 1px solid #141b24;
    font-size: 13px;
}

.footer-cols {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 28px;
    padding-bottom: 26px;
    border-bottom: 1px solid #141b24;
}

.site-footer h3 {
    margin-bottom: 10px;
    color: #dbe3ec;
    font-size: 13.5px;
    font-weight: 600;
}

.site-footer p {
    font-size: 12.5px;
    line-height: 1.95;
    color: #6f7c8c;
}

.site-footer li a {
    display: inline-block;
    padding: 3px 0;
    color: #7d8a9a;
}

.site-footer li a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 15px 0 18px;
    font-size: 12px;
    color: #4e5a68;
}

.footer-bottom p {
    color: #4e5a68;
}

.to-top {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #263140;
    border-radius: 50%;
    background: #101720;
    color: #a9b6c5;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s, background 0.2s;
}

.to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #ffffff;
}

@media (max-width: 1080px) {
    .main-nav a {
        padding: 7px 10px;
        font-size: 13.5px;
    }

    .search-form {
        width: 205px;
    }

    .poster-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .bottom-layout,
    .list-layout,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        height: 420px;
    }

    .slide-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 900px) {
    .main-nav,
    .search-form {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .header-actions {
        margin-left: auto;
    }

    .hero {
        height: 390px;
    }

    .slide-content {
        left: 26px;
        right: 26px;
        bottom: 38px;
        max-width: 560px;
    }

    .slide-content h2 {
        font-size: 32px;
    }

    .poster-grid,
    .poster-grid.cols-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .detail-head {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 20px;
    }

    .detail-info h1 {
        font-size: 27px;
    }

    .detail-meta {
        grid-template-columns: 1fr;
    }

    .footer-cols {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .topbar {
        display: none;
    }

    .header-inner {
        min-height: 60px;
        gap: 12px;
    }

    .logo-text {
        font-size: 20px;
    }

    .hero {
        height: 340px;
        margin-top: 14px;
    }

    .slide-content {
        left: 18px;
        right: 18px;
        bottom: 30px;
    }

    .slide-content h2 {
        font-size: 26px;
    }

    .slide-desc {
        font-size: 12.5px;
        -webkit-line-clamp: 2;
    }

    .slide-meta {
        font-size: 11.5px;
        gap: 5px 12px;
    }

    .slide-actions .btn {
        padding: 8px 15px;
        font-size: 12.5px;
    }

    .hero-arrow {
        display: none;
    }

    .hero-dots {
        right: 16px;
        bottom: 14px;
    }

    .section {
        margin-top: 28px;
    }

    .section-title h2 {
        font-size: 19px;
    }

    .section-title p {
        display: none;
    }

    .poster-grid,
    .poster-grid.cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
    }

    .update-row {
        grid-template-columns: minmax(0, 1fr) 82px;
    }

    .update-time {
        display: none;
    }

    .channel-head {
        padding: 18px;
    }

    .channel-head h1,
    .rank-head h1 {
        font-size: 23px;
    }

    .filter-bar {
        padding: 4px 14px;
    }

    .filter-row {
        display: block;
        padding: 10px 0;
    }

    .filter-label {
        width: auto;
        margin-bottom: 5px;
    }

    .detail-card {
        padding: 16px;
    }

    .detail-head {
        grid-template-columns: 130px minmax(0, 1fr);
        gap: 14px;
    }

    .detail-info h1 {
        font-size: 22px;
    }

    .detail-alias {
        font-size: 12px;
    }

    .detail-meta {
        margin-top: 10px;
        gap: 4px;
        font-size: 12px;
    }

    .detail-meta dt {
        width: 38px;
    }

    .detail-tags,
    .detail-actions {
        margin-top: 12px;
    }

    .detail-actions .btn {
        padding: 8px 14px;
        font-size: 12.5px;
    }

    .rank-head {
        padding: 18px 18px 0;
    }

    .rank-row {
        grid-template-columns: 40px minmax(0, 1fr) 62px;
        gap: 10px;
        padding: 11px 14px;
    }

    .rank-row .big-no {
        font-size: 18px;
    }

    .rank-row .rank-trend {
        display: none;
    }

    .footer-cols {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer-bottom {
        display: block;
    }

    .footer-bottom p + p {
        margin-top: 4px;
    }
}

@media (max-width: 420px) {
    .header-actions .btn-app {
        display: none;
    }

    .hero {
        height: 310px;
    }

    .slide-content h2 {
        font-size: 23px;
    }

    .detail-head {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        width: 130px;
    }

    .rank-tabs {
        gap: 16px;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .rank-tabs::-webkit-scrollbar {
        display: none;
    }
}
