/* Seasons Section Styles */
.seasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.season-card {
    position: relative;
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 2/3;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
}

.season-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.season-card.current {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color-alpha, rgba(255, 62, 62, 0.4));
    transform: scale(1.02);
}

.season-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.season-card:hover img {
    transform: scale(1.05);
}

.season-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 8px 8px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    color: white;
    text-align: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.season-title {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.season-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: var(--primary-color);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

/* External Links */
.external-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
    margin-bottom: var(--space-lg);
}

.external-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.external-pill img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.external-pill:hover {
    background: var(--bg-surface-hover);
    border-color: var(--accent-muted);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.external-pill.anilist:hover {
    border-color: #3db4f2;
    box-shadow: 0 0 10px rgba(61, 180, 242, 0.2);
}

.external-pill.mal:hover {
    border-color: #2e51a2;
    box-shadow: 0 0 10px rgba(46, 81, 162, 0.2);
}

:root {
    --info: #3b82f6;
    --success: #10b981;
}

/* Studio Link Pill */
.studio-link-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.studio-link-pill:hover {
    background: rgba(255, 62, 62, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.studio-tag {
    background: rgba(34, 197, 94, 0.08) !important;
    border-color: rgba(34, 197, 94, 0.2) !important;
    color: var(--success) !important;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.studio-tag:hover {
    background: var(--success) !important;
    border-color: var(--success) !important;
    color: #fff !important;
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.4);
    transform: translateY(-3px) scale(1.02);
}

/* ===== Stats Section ===== */
.anime-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: var(--space-xl);
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: transform 0.2s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.65rem;
    color: var(--success);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-label svg {
    width: 10px;
    height: 10px;
    stroke: var(--success);
    stroke-width: 3;
}

/* Quick Meta List (under poster) */
.quick-meta-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: var(--space-xl);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.quick-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.quick-meta-item .label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--success);
    font-weight: 800;
    letter-spacing: 1.5px;
}

.quick-meta-item .value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .quick-meta-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 12px;
        margin-top: 16px;
    }

    .quick-meta-item .value {
        font-size: 0.85rem;
    }
}

@media (max-width: 640px) {
    .anime-stats {
        gap: 16px;
        justify-content: space-between;
    }

    .stat-item {
        min-width: calc(50% - 10px);
    }

    .stat-value {
        font-size: 0.95rem;
    }
}

/* ===== Tab System ===== */
.info-tabs {
    display: flex;
    gap: 0;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 4px;
    margin-bottom: var(--space-xl);
    border: 1px solid var(--border-color);
    overflow-x: auto;
}

.info-tab-btn {
    flex: 1;
    padding: var(--space-sm) var(--space-lg);
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
    text-align: center;
}

.info-tab-btn:hover {
    color: var(--text-primary);
    background: var(--bg-surface-hover);
}

.info-tab-btn.active {
    background: var(--accent);
    color: var(--bg-primary);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.info-tab-content {
    display: none;
}

.info-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Characters & VA Grid (screenshot style) ===== */
.char-va-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-sm);
}

.char-va-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    transition: all var(--transition-fast);
}

.char-va-row:hover {
    border-color: var(--accent-muted, var(--border-color));
    background: var(--bg-surface-hover);
}

.char-side,
.va-side {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-width: 0;
}

.va-side {
    flex-direction: row-reverse;
    text-align: right;
}

.char-va-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--border-color);
}

.char-va-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.char-va-info {
    min-width: 0;
}

.char-va-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.char-va-role {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.char-va-role.main {
    color: var(--accent);
}

.char-va-role.supporting {
    color: var(--text-muted);
}

.char-va-role.va-lang {
    color: var(--text-secondary, var(--text-muted));
}

@media (max-width: 700px) {
    .char-va-grid {
        grid-template-columns: 1fr;
    }

    .char-va-name {
        max-width: 90px;
    }

    .char-va-avatar {
        width: 40px;
        height: 40px;
    }
}

/* ===== Watchlist Edit Modal ===== */
.wl-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 16px;
}

.wl-modal-overlay.active {
    display: flex;
}

.wl-modal {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 700px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 220px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
    animation: wlSlideUp 0.25s ease;
}

@keyframes wlSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wl-modal-body {
    padding: var(--space-xl);
}

.wl-modal-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wl-modal-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--text-primary);
    line-height: 1.3;
}

.wl-modal-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.wl-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.wl-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wl-form-group.full {
    grid-column: 1 / -1;
}

.wl-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 700;
}

.wl-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 10px 12px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    width: 100%;
}

.wl-input:focus {
    border-color: var(--primary-color, #06C149);
    background: rgba(255, 255, 255, 0.08);
}

.wl-input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.5;
    cursor: pointer;
}

.wl-progress-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wl-step-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    width: 34px;
    height: 34px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}

.wl-step-btn:hover {
    background: rgba(255, 62, 62, 0.15);
    border-color: rgba(255, 62, 62, 0.4);
}

.wl-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.wl-btn-delete {
    background: transparent;
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.wl-btn-delete:hover {
    background: rgba(231, 76, 60, 0.12);
    border-color: #e74c3c;
}

.wl-btn-save {
    background: var(--primary-color, #06C149);
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: filter 0.2s;
}

.wl-btn-save:hover {
    filter: brightness(1.15);
}

.wl-btn-save:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: none;
}

.wl-btn-cancel {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}

.wl-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 640px) {
    .wl-modal {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin: auto 0 0 0;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
        border-bottom: none;
        max-height: 90dvh;
        overflow-y: auto;
    }

    .wl-modal-poster {
        display: none;
    }

    .wl-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .wl-form-grid {
        grid-template-columns: 1fr;
    }

    .wl-modal-body {
        padding: var(--space-lg);
    }

    .wl-btn-save,
    .wl-btn-cancel {
        padding: 13px 16px;
        flex: 1;
    }

    .wl-actions {
        flex-wrap: wrap;
        gap: 10px;
    }

    .wl-actions>div {
        flex: 1;
    }
}

/* ===== Music (OP/ED Themes) Section ===== */

/* Loading State */
.music-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl) 0;
    gap: var(--space-md);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.music-loading-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: musicSpin 0.8s linear infinite;
}

@keyframes musicSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Empty State */
.music-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl) 0;
    gap: var(--space-md);
    color: var(--text-muted);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Theme Groups */
.music-theme-group {
    margin-bottom: var(--space-xl);
}

.music-group-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-color);
}

.music-group-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    color: #fff;
}

.music-group-badge.op {
    background: linear-gradient(135deg, #bdf9be, #06C149);
}

.music-group-badge.ed {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
}

/* Theme Card */
.music-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.music-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    transition: all 0.2s ease;
    cursor: pointer;
    gap: var(--space-md);
}

.music-card:hover {
    border-color: var(--accent-muted, rgba(255, 62, 62, 0.3));
    background: var(--bg-surface-hover);
    transform: translateX(4px);
}

.music-card.playing {
    border-color: var(--accent);
    background: rgba(255, 62, 62, 0.08);
    box-shadow: 0 0 20px rgba(255, 62, 62, 0.1);
}

.music-card-left {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-width: 0;
    flex: 1;
}

.music-sequence-badge {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    overflow: hidden;
    background: #1a1a2e;
}

.music-sequence-badge:not(.has-image).op {
    background: linear-gradient(135deg, #bdf9be, #06C149);
}

.music-sequence-badge:not(.has-image).ed {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.music-badge-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease, transform 0.3s ease;
}

.music-card:hover .music-badge-img {
    transform: scale(1.08);
}

.music-badge-num {
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 0.6rem;
    font-weight: 800;
    color: #fff;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    line-height: 1;
    z-index: 2;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.music-badge-num.op {
    background: linear-gradient(135deg, #bdf9be, #06C149);
}

.music-badge-num.ed {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.music-badge-num.no-img {
    position: static;
    font-size: 1.1rem;
    min-width: auto;
    height: auto;
    background: none;
    box-shadow: none;
}

/* Cover Banner */
.music-cover-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100px;
    margin-bottom: var(--space-lg);
}

.music-cover-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px) brightness(0.5);
}

.music-cover-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(236, 72, 153, 0.3));
}

.music-cover-banner-info {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    height: 100%;
    padding: 0 var(--space-lg);
    color: #fff;
}

.music-cover-banner-info svg {
    opacity: 0.9;
    flex-shrink: 0;
}

.music-cover-banner-title {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.music-cover-banner-count {
    font-size: 0.82rem;
    opacity: 0.8;
    margin-top: 2px;
}

.music-card-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.music-song-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-artist {
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-artist-as {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-style: italic;
}

.music-episodes {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 1px;
}

.music-card-right {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.music-video-tag {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.08);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.music-play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.music-play-btn:hover {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.4);
    transform: scale(1.1);
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.25);
}

.music-card.playing .music-play-btn {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

/* Video Container */
.music-video-container {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    overflow: hidden;
    background: #000;
    margin-top: -1px;
    margin-bottom: var(--space-xs);
    border: 1px solid var(--border-color);
    border-top: none;
    animation: musicVideoSlideIn 0.25s ease;
}

@keyframes musicVideoSlideIn {
    from {
        opacity: 0;
        max-height: 0;
    }

    to {
        opacity: 1;
        max-height: 600px;
    }
}

.music-video-player {
    width: 100%;
    max-height: 400px;
    display: block;
    outline: none;
}

/* When card has an open video, adjust its bottom radius */
.music-card.playing {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* Responsive */
@media (max-width: 640px) {
    .music-card {
        padding: var(--space-xs) var(--space-sm);
        gap: var(--space-sm);
    }

    .music-sequence-badge {
        min-width: 42px;
        height: 42px;
        font-size: 0.65rem;
    }

    .music-song-title {
        font-size: 0.85rem;
    }

    .music-artist {
        font-size: 0.75rem;
    }

    .music-video-tag {
        display: none;
    }

    .music-play-btn {
        width: 34px;
        height: 34px;
    }

    .music-video-player {
        max-height: 250px;
    }
}

/* ===== Watch Order Timeline Section ===== */
.watch-order-container {
    position: relative;
    padding-left: 28px;
    margin: var(--space-lg) 0;
}

.watch-order-container::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 7px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent) 0%, var(--border-color) 100%);
    opacity: 0.35;
}

.watch-order-item {
    position: relative;
    margin-bottom: var(--space-lg);
}

.watch-order-marker {
    position: absolute;
    left: -28px;
    top: 24px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--accent);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.watch-order-item:hover .watch-order-marker {
    background: var(--accent);
    transform: scale(1.3);
    box-shadow: 0 0 15px var(--accent);
}

.watch-order-card {
    display: flex;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: var(--space-lg);
}

.watch-order-card:hover {
    border-color: var(--accent-muted, rgba(255, 62, 62, 0.3));
    background: var(--bg-surface-hover);
    transform: translateX(6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.watch-order-card.current-anime {
    border-color: var(--accent);
    background: rgba(255, 62, 62, 0.04);
    box-shadow: inset 0 0 15px rgba(255, 62, 62, 0.05);
}

.watch-order-img-container {
    width: 70px;
    height: 100px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
}

.watch-order-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.watch-order-card:hover .watch-order-img-container img {
    transform: scale(1.08);
}

.watch-order-info {
    flex-grow: 1;
    min-width: 0;
}

.watch-order-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: var(--space-xs);
}

.watch-order-title-group {
    min-width: 0;
}

.watch-order-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.watch-order-title a {
    color: inherit;
    text-decoration: none;
}

.watch-order-title a:hover {
    color: var(--accent);
}

.watch-order-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 2px 0 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.watch-order-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
}

.watch-order-badge.tv {
    color: var(--text-secondary);
}

.watch-order-badge.movie {
    color: #4e7b79;
    background: rgba(255, 255, 255, 0.08);
}

.watch-order-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.watch-order-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.watch-order-meta-divider {
    color: var(--border-color);
}

.watch-order-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all var(--transition-fast);
    text-decoration: none;
    flex-shrink: 0;
}

.watch-order-link-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 62, 62, 0.3);
}

@media (max-width: 640px) {
    .watch-order-container {
        padding-left: 20px;
    }

    .watch-order-container::before {
        left: 5px;
    }

    .watch-order-marker {
        left: -20px;
        width: 12px;
        height: 12px;
    }

    .watch-order-card {
        padding: var(--space-sm);
        gap: var(--space-md);
    }

    .watch-order-img-container {
        width: 50px;
        height: 75px;
    }

    .watch-order-title {
        font-size: 0.9rem;
    }

    .watch-order-subtitle {
        font-size: 0.75rem;
    }

    .watch-order-meta {
        font-size: 0.75rem;
        gap: var(--space-sm);
    }
}