:root {
    --fox-primary: #ff6b35;
    --fox-primary-hover: #ff8555;
    --fox-bg: #0f0f1a;
    --fox-bg2: #1a1a2e;
    --fox-bg3: #252540;
    --fox-surface: #16213e;
    --fox-text: #e8e8e8;
    --fox-text2: #9ca3af;
    --fox-text3: #6b7280;
    --fox-border: #2d2d4a;
    --fox-radius: 12px;
    --fox-radius-sm: 8px;
    --fox-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

*, *::before, *::after { box-sizing: border-box; }

body, html { margin: 0; padding: 0; }

.fox-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--fox-bg);
    color: var(--fox-text);
    min-height: 100vh;
    line-height: 1.5;
}

.fox-app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.fox-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--fox-border);
}

.fox-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.fox-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--fox-text);
    flex-shrink: 0;
}

.fox-logo-icon {
    width: 36px;
    height: 36px;
}

.fox-logo-text {
    font-size: 18px;
    font-weight: 700;
}

.fox-search {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.fox-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--fox-text3);
    pointer-events: none;
}

.fox-search-input {
    width: 100%;
    height: 40px;
    padding: 0 16px 0 44px;
    background: var(--fox-bg2);
    border: 1px solid var(--fox-border);
    border-radius: 20px;
    color: var(--fox-text);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.fox-search-input::placeholder { color: var(--fox-text3); }
.fox-search-input:focus {
    border-color: var(--fox-primary);
    background: var(--fox-bg3);
}

.fox-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fox-nav-mobile {
    display: none;
}

.fox-nav-link {
    color: var(--fox-text2);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: var(--fox-radius-sm);
    transition: color 0.2s, background 0.2s;
}

.fox-nav-link:hover {
    color: var(--fox-text);
    background: var(--fox-bg3);
}

.fox-nav-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--fox-text2);
    cursor: pointer;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
}

.fox-nav-btn svg { width: 20px; height: 20px; }
.fox-nav-btn:hover {
    color: var(--fox-text);
    background: var(--fox-bg3);
}

.fox-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.fox-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--fox-text);
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
}

.fox-menu-btn.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.fox-menu-btn.is-active span:nth-child(2) {
    opacity: 0;
}

.fox-menu-btn.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Main */
.fox-main {
    flex: 1;
}

.fox-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
}

/* Home Layout */
.fox-home-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    margin-bottom: 32px;
}

.fox-home-main { min-width: 0; }

/* Hero */
.fox-hero {
    position: relative;
    border-radius: var(--fox-radius);
    overflow: hidden;
    aspect-ratio: 16 / 7;
    margin-bottom: 16px;
}

.fox-hero-bg {
    position: absolute;
    inset: 0;
}

.fox-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fox-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 15, 26, 0.95) 0%, rgba(15, 15, 26, 0.7) 50%, rgba(15, 15, 26, 0.3) 100%);
}

.fox-hero-content {
    position: absolute;
    inset: 0;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 50%;
}

.fox-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.fox-hero-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--fox-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}

.fox-hero-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--fox-text2);
}

.fox-hero-date svg {
    width: 14px;
    height: 14px;
}

.fox-hero-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.fox-hero-tag {
    padding: 4px 10px;
    background: rgba(255,255,255,0.1);
    color: var(--fox-text2);
    font-size: 12px;
    border-radius: 4px;
}

.fox-hero-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.2;
}

.fox-hero-desc {
    font-size: 14px;
    color: var(--fox-text2);
    margin: 0 0 20px;
    line-height: 1.6;
}

.fox-hero-actions {
    display: flex;
    gap: 12px;
}

.fox-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--fox-radius-sm);
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, background 0.2s;
}

.fox-hero-btn svg { width: 18px; height: 18px; }

.fox-hero-btn-primary {
    background: var(--fox-primary);
    color: #fff;
}

.fox-hero-btn-primary:hover {
    background: var(--fox-primary-hover);
    transform: translateY(-2px);
}

.fox-hero-btn-outline {
    background: rgba(255,255,255,0.1);
    color: var(--fox-text);
    border: 1px solid var(--fox-border);
}

.fox-hero-btn-outline:hover {
    background: rgba(255,255,255,0.15);
}

/* Category Bar */
.fox-category-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0;
}

.fox-category-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--fox-bg2);
    color: var(--fox-text2);
    font-size: 13px;
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.fox-category-item svg { width: 16px; height: 16px; }

.fox-category-item:hover,
.fox-category-item.is-active {
    background: var(--fox-primary);
    color: #fff;
}

/* Sidebar */
.fox-home-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fox-sidebar-section {
    background: var(--fox-bg2);
    border-radius: var(--fox-radius);
    padding: 16px;
}

.fox-sidebar-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--fox-primary);
}

.fox-sidebar-title svg { width: 18px; height: 18px; }

.fox-update-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fox-update-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: var(--fox-text);
    padding: 8px;
    margin: -8px;
    border-radius: var(--fox-radius-sm);
    transition: background 0.2s;
}

.fox-update-item:hover { background: var(--fox-bg3); }

.fox-update-poster {
    width: 60px;
    height: 80px;
    border-radius: var(--fox-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.fox-update-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fox-update-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fox-update-name {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fox-update-ep {
    font-size: 12px;
    color: var(--fox-text3);
    margin: 0;
}

.fox-update-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fox-update-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    color: #ffc107;
}

.fox-update-rating svg {
    width: 12px;
    height: 12px;
    fill: #ffc107;
}

.fox-update-date {
    font-size: 11px;
    color: var(--fox-text3);
    margin-top: 4px;
}

/* Random Section */
.fox-random-section {
    background: linear-gradient(135deg, var(--fox-bg2) 0%, var(--fox-surface) 100%);
}

.fox-random-card {
    display: block;
    text-decoration: none;
    color: var(--fox-text);
    border-radius: var(--fox-radius-sm);
    overflow: hidden;
    background: var(--fox-bg3);
    transition: transform 0.2s;
}

.fox-random-card:hover {
    transform: translateY(-2px);
}

.fox-random-poster {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.fox-random-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.fox-random-card:hover .fox-random-poster img {
    transform: scale(1.05);
}

.fox-random-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.2s;
}

.fox-random-card:hover .fox-random-play {
    opacity: 1;
}

.fox-random-play svg {
    width: 40px;
    height: 40px;
    fill: #fff;
}

.fox-random-info {
    padding: 12px;
}

.fox-random-name {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fox-random-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.fox-random-remarks {
    font-size: 12px;
    color: var(--fox-primary);
}

.fox-random-date {
    font-size: 11px;
    color: var(--fox-text3);
}

.fox-random-hint {
    font-size: 12px;
    color: var(--fox-text3);
    margin: 12px 0 0;
    text-align: center;
}

/* Section */
.fox-section {
    margin-bottom: 32px;
}

.fox-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.fox-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.fox-section-title svg {
    width: 20px;
    height: 20px;
    color: var(--fox-primary);
}

.fox-section-more {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--fox-text3);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.fox-section-more svg { width: 16px; height: 16px; }
.fox-section-more:hover { color: var(--fox-primary); }

/* Grid */
.fox-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

/* Card */
.fox-card {
    background: var(--fox-bg2);
    border-radius: var(--fox-radius);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.fox-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fox-shadow);
}

.fox-card-link {
    display: block;
    text-decoration: none;
    color: var(--fox-text);
}

.fox-card-poster {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.fox-card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.fox-card:hover .fox-card-poster img { transform: scale(1.05); }

.fox-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.fox-card:hover .fox-card-overlay { opacity: 1; }

.fox-card-overlay svg { width: 48px; height: 48px; }

.fox-card-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    background: var(--fox-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    border-radius: 4px;
}

.fox-card-body {
    padding: 12px;
}

.fox-card-title {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fox-card-tag {
    font-size: 12px;
    color: var(--fox-text3);
}

/* Card Stats */
.fox-card-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 24px 8px 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    font-size: 11px;
    color: rgba(255,255,255,0.9);
}

.fox-card-rating,
.fox-card-hits {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.fox-card-rating svg {
    width: 12px;
    height: 12px;
    fill: #ffc107;
}

.fox-card-hits svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
}

/* List Page */
.fox-list-page { }

.fox-list-header {
    margin-bottom: 24px;
}

.fox-list-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
}

.fox-list-subtitle {
    font-size: 14px;
    color: var(--fox-text3);
    margin: 0 0 16px;
}

.fox-list-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fox-list-cat {
    padding: 6px 14px;
    background: var(--fox-bg2);
    color: var(--fox-text2);
    font-size: 13px;
    border-radius: 16px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.fox-list-cat:hover,
.fox-list-cat.is-active {
    background: var(--fox-primary);
    color: #fff;
}

.fox-list-grid {
    grid-template-columns: repeat(6, 1fr);
}

/* Pagination */
.fox-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.fox-page-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--fox-bg2);
    color: var(--fox-text);
    font-size: 14px;
    border-radius: var(--fox-radius-sm);
    text-decoration: none;
    transition: background 0.2s;
}

.fox-page-btn svg { width: 16px; height: 16px; }
.fox-page-btn:hover { background: var(--fox-bg3); }

.fox-page-nums {
    display: flex;
    gap: 4px;
}

.fox-page-num {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fox-bg2);
    color: var(--fox-text2);
    font-size: 14px;
    border-radius: var(--fox-radius-sm);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.fox-page-num:hover { background: var(--fox-bg3); color: var(--fox-text); }
.fox-page-num.is-active { background: var(--fox-primary); color: #fff; }

.fox-page-ellipsis {
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fox-text3);
}

/* Empty */
.fox-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--fox-text3);
}

.fox-empty svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.fox-empty p {
    font-size: 16px;
    margin: 0;
}

/* Detail Page */
.fox-detail-page { }

.fox-detail-banner {
    position: relative;
    border-radius: var(--fox-radius);
    overflow: hidden;
    margin-bottom: 24px;
    min-height: 300px;
}

.fox-detail-bg {
    position: absolute;
    inset: 0;
}

.fox-detail-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px);
    transform: scale(1.1);
}

.fox-detail-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 15, 26, 0.98) 0%, rgba(15, 15, 26, 0.85) 100%);
}

.fox-detail-info {
    position: relative;
    display: flex;
    gap: 24px;
    padding: 32px;
}

.fox-detail-poster {
    width: 180px;
    flex-shrink: 0;
    border-radius: var(--fox-radius);
    overflow: hidden;
    box-shadow: var(--fox-shadow);
}

.fox-detail-poster img {
    width: 100%;
    height: auto;
    display: block;
}

.fox-detail-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fox-detail-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--fox-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 12px;
    width: fit-content;
}

.fox-detail-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
}

.fox-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.fox-detail-tag {
    padding: 4px 10px;
    background: rgba(255,255,255,0.1);
    color: var(--fox-text2);
    font-size: 12px;
    border-radius: 4px;
}

.fox-detail-crew {
    font-size: 14px;
    color: var(--fox-text2);
    margin: 0 0 8px;
}

.fox-detail-crew strong {
    color: var(--fox-text);
}

.fox-detail-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--fox-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--fox-radius-sm);
    text-decoration: none;
    margin-top: 16px;
    transition: background 0.2s, transform 0.2s;
}

.fox-detail-play-btn svg { width: 20px; height: 20px; }
.fox-detail-play-btn:hover {
    background: var(--fox-primary-hover);
    transform: translateY(-2px);
}

.fox-detail-body {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
}

.fox-detail-main { min-width: 0; }

.fox-detail-section {
    background: var(--fox-bg2);
    border-radius: var(--fox-radius);
    padding: 20px;
    margin-bottom: 20px;
}

.fox-detail-section-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px;
}

.fox-detail-desc {
    font-size: 14px;
    color: var(--fox-text2);
    line-height: 1.8;
}

.fox-detail-desc-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--fox-text);
    margin: 20px 0 10px;
}

.fox-detail-desc-title:first-child {
    margin-top: 0;
}

.fox-detail-desc-content {
    margin: 0 0 16px;
    text-indent: 2em;
}

/* Episode */
.fox-episode-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.fox-episode-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.fox-episode-sort {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--fox-bg3);
    border: none;
    color: var(--fox-text2);
    font-size: 13px;
    border-radius: var(--fox-radius-sm);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.fox-episode-sort svg { width: 16px; height: 16px; }
.fox-episode-sort:hover { background: var(--fox-border); color: var(--fox-text); }

.fox-source-block {
    margin-bottom: 16px;
}

.fox-source-name {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 12px;
    color: var(--fox-text2);
}

.fox-episode-list,
.fox-episode-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fox-episode-item {
    padding: 8px 16px;
    background: var(--fox-bg3);
    color: var(--fox-text2);
    font-size: 13px;
    border-radius: var(--fox-radius-sm);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.fox-episode-item:hover { background: var(--fox-border); color: var(--fox-text); }
.fox-episode-item.is-active { background: var(--fox-primary); color: #fff; }

.fox-episode-group { margin-bottom: 16px; }
.fox-episode-group:last-child { margin-bottom: 0; }

.fox-episode-group-title {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 12px;
    color: var(--fox-text2);
}

/* Detail Sidebar */
.fox-detail-sidebar { }

.fox-related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fox-related-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: var(--fox-text);
    padding: 8px;
    margin: -8px;
    border-radius: var(--fox-radius-sm);
    transition: background 0.2s;
}

.fox-related-item:hover { background: var(--fox-bg3); }

.fox-related-poster {
    position: relative;
    width: 60px;
    height: 80px;
    border-radius: var(--fox-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.fox-related-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fox-related-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 4px 4px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    font-size: 10px;
    color: rgba(255,255,255,0.9);
}

.fox-related-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.fox-related-rating svg {
    width: 10px;
    height: 10px;
    fill: #ffc107;
}

.fox-related-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fox-related-name {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fox-related-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fox-related-remarks {
    font-size: 12px;
    color: var(--fox-text3);
}

.fox-related-hits {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    color: var(--fox-text3);
}

.fox-related-hits svg {
    width: 12px;
    height: 12px;
}

/* Play Page */
.fox-play-page { }

.fox-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 16px;
    color: var(--fox-text3);
}

.fox-breadcrumb a {
    color: var(--fox-text2);
    text-decoration: none;
    transition: color 0.2s;
}

.fox-breadcrumb a:hover { color: var(--fox-primary); }

.fox-breadcrumb-current { color: var(--fox-text); }

.fox-play-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
}

.fox-play-ep {
    font-size: 16px;
    font-weight: 400;
    color: var(--fox-primary);
    margin-left: 12px;
}

/* Player */
.fox-player-section {
    margin-bottom: 20px;
}

.fox-player-wrapper {
    position: relative;
    background: #000;
    border-radius: var(--fox-radius);
    overflow: hidden;
}

.fox-player-container {
    width: 100%;
    aspect-ratio: 16 / 9;
}

/* Episode Nav */
.fox-episode-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.fox-episode-nav-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--fox-bg2);
    color: var(--fox-text);
    font-size: 14px;
    border-radius: var(--fox-radius-sm);
    text-decoration: none;
    transition: background 0.2s;
}

.fox-episode-nav-btn svg { width: 18px; height: 18px; }
.fox-episode-nav-btn:hover { background: var(--fox-bg3); }
.fox-episode-nav-btn.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Related Section in Play Page */
.fox-related-section {
    margin-top: 32px;
}

.fox-related-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.fox-related-card {
    text-decoration: none;
    color: var(--fox-text);
}

.fox-related-card .fox-related-poster {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    border-radius: var(--fox-radius-sm);
    overflow: hidden;
    margin-bottom: 8px;
}

.fox-related-card .fox-related-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.fox-related-card:hover .fox-related-poster img { transform: scale(1.05); }

.fox-related-card .fox-related-name {
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fox-related-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fox-related-card .fox-related-hits {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    color: var(--fox-text3);
}

.fox-related-card .fox-related-hits svg {
    width: 12px;
    height: 12px;
}

/* Footer */
.fox-footer {
    background: var(--fox-bg2);
    border-top: 1px solid var(--fox-border);
    margin-top: auto;
    padding-bottom: 60px;
}

.fox-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 24px;
    text-align: center;
}

.fox-footer-text {
    font-size: 13px;
    color: var(--fox-text3);
    margin: 0;
}

.fox-footer-tags {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(24, 24, 28, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 0;
    border-top: 1px solid var(--fox-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.fox-footer-tags::-webkit-scrollbar {
    display: none;
}

.fox-footer-tags-inner {
    display: flex;
    gap: 10px;
    padding: 0 24px;
    width: max-content;
}

.fox-footer-tag {
    padding: 4px 10px;
    background: var(--fox-bg3);
    color: var(--fox-text3);
    font-size: 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.fox-footer-tag:hover {
    background: var(--fox-bg3);
    color: var(--fox-text2);
}

/* Responsive */
@media (max-width: 1200px) {
    .fox-grid,
    .fox-list-grid,
    .fox-related-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 992px) {
    .fox-home-layout {
        grid-template-columns: 1fr;
    }

    .fox-home-sidebar {
        display: none;
    }

    .fox-grid,
    .fox-list-grid,
    .fox-related-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .fox-detail-body {
        grid-template-columns: 1fr;
    }

    .fox-detail-sidebar {
        order: -1;
    }

    .fox-related-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .fox-related-item {
        flex-direction: column;
        padding: 0;
        margin: 0;
        background: var(--fox-bg3);
        border-radius: var(--fox-radius-sm);
        overflow: hidden;
    }

    .fox-related-item:hover {
        background: var(--fox-bg3);
    }

    .fox-related-poster {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 4;
        border-radius: 0;
    }

    .fox-related-info {
        padding: 10px;
    }

    .fox-related-name {
        font-size: 13px;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .fox-header-inner {
        padding: 0 16px;
    }

    .fox-nav-pc {
        display: none;
    }

    .fox-nav-mobile {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--fox-bg2);
        border-bottom: 1px solid var(--fox-border);
        padding: 16px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        z-index: 99;
        max-height: 60vh;
        overflow-y: auto;
    }

    .fox-nav-mobile.is-open {
        display: flex;
    }

    .fox-nav-mobile .fox-nav-link {
        padding: 10px 14px;
        background: var(--fox-bg3);
        border-radius: var(--fox-radius-sm);
        font-size: 13px;
    }

    .fox-nav-mobile .fox-nav-link:hover {
        background: var(--fox-primary);
        color: #fff;
    }

    .fox-menu-btn { display: flex; }

    .fox-search { max-width: none; }

    .fox-content { padding: 16px; }

    .fox-hero { aspect-ratio: 4 / 3; }

    .fox-hero-content {
        max-width: 100%;
        padding: 20px;
        justify-content: flex-end;
    }

    .fox-hero-title { font-size: 20px; }
    .fox-hero-desc { display: none; }

    .fox-grid,
    .fox-list-grid,
    .fox-related-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .fox-detail-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .fox-detail-poster { width: 140px; }

    .fox-detail-title { font-size: 22px; }

    .fox-detail-tags { justify-content: center; }

    .fox-pagination { flex-wrap: wrap; }

    .fox-page-nums { display: none; }

    .fox-episode-nav { flex-direction: column; }
}

@media (max-width: 480px) {
    .fox-grid,
    .fox-list-grid,
    .fox-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fox-hero-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .fox-related-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
