.favorites-container {
    max-width: 1600px;
    padding: 20px 10px;
    position: relative;
    z-index: 1;
}

.favorites-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.favorites-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
}

.shared-project-info {
    margin-top: 8px;
}

.shared-project-info p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.guest-info {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #92400e;
    font-size: 14px;
}

.guest-info i {
    color: #f59e0b;
    font-size: 16px;
}

.guest-info a {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 600;
}

.guest-info a:hover {
    text-decoration: underline;
}

/* 즐겨찾기에서 성우 카드의 삭제 버튼 스타일 */
.delete-actor-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.delete-actor-btn:hover {
    background: #dc2626;
    opacity: 1;
    transform: scale(1.1);
}

/* 즐겨찾기 페이지의 성우 카드 그리드 레이아웃 */
.actors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 2rem;
    width: 100%;
    padding: 0 1rem;
}

.actors-grid .actor-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px;
    height: auto;
    min-height: 180px;
    justify-content: space-between;
}

/* 즐겨찾기 페이지의 카드 내부 레이아웃 재정의 */
.actors-grid .card-main-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    gap: 0;
}

/* 상단 영역: 아바타 + 정보 + 버튼 */
.actors-grid .top-section {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    height: 90px;
    position: relative;
}

.actors-grid .actor-avatar {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    margin-top: 8px;
    align-self: flex-start;
}

.actors-grid .actor-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.actors-grid .actor-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-top: 8px;
    height: 100%;
}

.actors-grid .info-top {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 8px;
    align-items: flex-start;
    text-align: left;
}

.actors-grid .actor-name {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    color: #1f2937;
    text-align: left;
}

.actors-grid .sample-title {
    font-size: 13px;
    color: #000000;
    line-height: 1.3;
    margin: 0;
    text-align: left;
}

.actors-grid .sample-genre {
    font-size: 12px;
    color: #3b82f6;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 62px;
}

.actors-grid .sample-genre i {
    font-size: 11px;
}

.actors-grid .actor-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    height: auto;
    justify-content: flex-start;
    padding-top: 8px;
    min-height: 120px;
}


.actors-grid .play-button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin: 2px 0;
}

.actors-grid .play-button.playing {
    background: #ef4444 !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3) !important;
    animation: pulse 1.5s infinite;
}

/* 즐겨찾기 페이지 재생 중인 버튼 강제 빨간색 유지 */
.actors-grid .play-button.playing,
.actors-grid .play-button.playing:not(:hover),
.actors-grid .play-button.playing:focus,
.actors-grid .play-button.playing:active {
    background: #ef4444 !important;
    color: white !important;
    border-color: #ef4444 !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3) !important;
    animation: pulse 1.5s infinite !important;
}

.actors-grid .play-button.playing:hover {
    background: #dc2626 !important;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4) !important;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.actors-grid .download-button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #10b981;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
    margin: 2px 0;
}

.actors-grid .download-button:hover {
    background: #059669;
    transform: scale(1.05);
}

.actors-grid .download-button:active {
    transform: scale(0.95);
}

.actors-grid .select-button {
    width: 60px;
    height: 28px;
    padding: 0 8px;
    font-size: 11px;
    border-radius: 4px;
    margin: 2px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.actors-grid .select-button span {
    display: inline;
}

/* 하단 영역: 감정 태그 */
.actors-grid .actor-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: auto;
    padding-top: 8px;
}

.actors-grid .category-tag {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 12px;
    background: #f0f9ff;
    color: #1e40af;
    border: 1px solid #dbeafe;
    white-space: nowrap;
}

/* 반응형 디자인 */
@media (max-width: 1400px) {
    .actors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1000px) {
    .actors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .actors-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0 0.5rem;
    }
}

.create-project-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.create-project-btn:hover {
    background: #059669;
    transform: translateY(-2px);
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.project-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    gap: 20px;
}

.project-header:hover {
    background-color: #f9fafb;
}

.project-title-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.project-name {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.project-meta-inline {
    display: flex;
    gap: 15px;
    align-items: center;
}

.project-actions {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.project-action-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-action-link:hover {
    background: #eff6ff;
    color: #1d4ed8;
    text-decoration: none;
    transform: translateY(-1px);
}

.project-action-link.delete-link {
    color: #dc2626;
}

.project-action-link.delete-link:hover {
    background: #fef2f2;
    color: #b91c1c;
}

.project-action-link i {
    font-size: 12px;
    opacity: 0.8;
}


.project-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 14px;
}

.project-meta-item i {
    color: #9ca3af;
    font-size: 12px;
}

.project-meta-item i.fa-comments {
    color: #3b82f6;
}

.shared-project-notice {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.shared-project-notice h3 {
    color: #0c4a6e;
    margin: 0 0 8px 0;
    font-size: 18px;
}

.shared-project-notice p {
    color: #0369a1;
    margin: 0 0 16px 0;
    font-size: 14px;
}

.shared-project-notice .btn {
    margin-top: 12px;
}

.notes-info {
    color: #f59e0b;
    font-size: 13px;
    margin: 8px 0 0 0;
    font-weight: 500;
}

.loading-state {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.loading-state i {
    font-size: 24px;
    margin-bottom: 16px;
    color: #3b82f6;
}

.loading-state p {
    margin: 0;
    font-size: 16px;
}

.shared-project {
    border: 2px solid #0ea5e9;
    background: #f8fafc;
}

.back-to-projects {
    text-align: center;
    margin-top: 20px;
}

/* 프로젝트 댓글 섹션 */
.project-comments-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.comments-header {
    margin-bottom: 12px;
}

.comments-title {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comments-title i {
    color: #3b82f6;
}

/* 댓글 작성 폼 */
.comment-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.comment-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 60px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.comment-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.add-comment-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.add-comment-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.add-comment-btn:active {
    transform: translateY(0);
}

/* 댓글 목록 */
.comments-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.comment-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    position: relative;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-header-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.comment-author {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.comment-author.guest {
    color: #6b7280;
    font-style: italic;
}

.comment-author.user {
    color: #3b82f6;
}

.comment-date {
    font-size: 12px;
    color: #6b7280;
}

.comment-content {
    color: #1f2937;
    font-size: 14px;
    line-height: 1.4;
    padding-left: 0;
}

.comment-actions {
    display: flex;
    gap: 10px;
}

.comment-delete-btn {
    background: #f3f4f6;
    color: #6b7280;
    border: none;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comment-delete-btn:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.05);
}

.no-comments {
    text-align: center;
    color: #6b7280;
    font-style: italic;
    padding: 20px;
}

.project-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    padding: 0 20px;
}

.project-content-inner {
    padding: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 14px;
}

.actors-preview {
    max-height: 150px;
    overflow-y: auto;
    min-height: 80px;
}

.actor-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.actor-item:last-child {
    border-bottom: none;
}

.actor-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.actor-info {
    flex: 1;
}

.actor-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 14px;
}

.sample-title {
    color: #000000;
    font-size: 12px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 20px;
    color: #d1d5db;
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #374151;
}

.empty-state p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* 로그인 안내 메시지 */
.login-required-message {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
}

.login-required-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.login-required-content i {
    font-size: 24px;
    color: #6c757d;
}

.login-required-content p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
}

.login-link {
    display: inline-block;
    padding: 8px 16px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.2s;
}

.login-link:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    padding: 15px;
    max-width: 800px;
    width: 85%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #10b981;
    color: white;
}

.btn-primary:hover {
    background: #059669;
}

.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
}

/* 프로젝트 상세 팝업 */
.project-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3000;
}

.project-detail-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 1400px;
    width: 98%;
    max-height: 90vh;
    overflow-y: auto;
}

.project-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.project-detail-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.close-detail-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
    padding: 5px;
}

.close-detail-btn:hover {
    color: #374151;
}

.project-detail-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
}

.project-detail-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 16px;
}

.project-detail-stat i {
    color: #10b981;
}

.actors-detail-list {
    max-height: 500px;
    overflow-y: auto;
}

.actor-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 10px;
    background: white;
    transition: all 0.3s ease;
}

.actor-detail-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.actor-avatar-large {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.actor-detail-info {
    flex: 1;
}

.actor-detail-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 16px;
    margin-bottom: 4px;
}

.actor-detail-sample {
    color: #6b7280;
    font-size: 14px;
}

/* 메인 페이지와 정확히 동일한 성우 샘플 카드 스타일 */
.actors-grid-detail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 2rem;
    width: 100%;
    padding: 0 1rem;
}

.voice-actor-card-detail {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-height: 120px;
}

.delete-actor-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
    z-index: 10;
}

.delete-actor-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.voice-actor-card-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.actor-profile-detail {
    flex-shrink: 0;
}

.actor-avatar-detail {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e5e7eb;
    transition: all 0.3s ease;
}

.actor-avatar-detail img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.default-avatar-detail {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 3px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 24px;
}

.card-main-content-detail {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.actor-info-detail {
    flex: 1;
}

.actor-name-detail {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

.gender-icon-detail {
    color: #3b82f6;
    font-size: 0.9rem;
}

.sample-title-detail {
    font-size: 0.8rem;
    color: #000000;
    margin: 0 0 6px 0;
    font-weight: 500;
}

.sample-genre-detail {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f8f9fa;
    color: #6c757d;
    padding: 3px 6px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    margin: 0 0 8px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.sample-genre-detail:hover {
    background: #e9ecef;
    color: #495057;
}

/* 성우 프로필 모달 스타일 */
.modal,
#actorProfileModal {
    display: none;
    position: fixed;
    z-index: 999999 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    align-items: center !important;
    justify-content: center !important;
    animation: fadeIn 0.3s ease-out;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
    position: relative;
    margin: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px 16px 0 0;
}

.modal-header h2 {
    color: white !important;
}

.modal-header button {
    color: white !important;
    transition: all 0.2s ease;
}

.modal-header button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.modal-body {
    max-height: calc(95vh - 80px);
    overflow-y: auto;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 모달 내부 스타일 */
.modal .actor-profile-modal {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.modal .actor-profile-header {
    margin-bottom: 10px !important;
    padding: 12px 10px !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* 반응형 모달 */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95% !important;
        width: 95% !important;
        margin: 10px !important;
        max-height: 90vh !important;
    }
    
    .modal-body {
        max-height: calc(90vh - 50px) !important;
        padding: 8px !important;
    }
}

.actor-actions-detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    justify-content: center; /* 재생버튼을 중간 높이로 */
    position: absolute;
    top: 25%;
    right: 20px;
    transform: translateY(-50%);
}

.play-button-detail {
    width: 44px;
    height: 44px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.play-button-detail:hover {
    background: #2563eb;
    transform: scale(1.05);
}

.actor-categories-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

.category-tag-detail {
    background: white;
    color: #333;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    border: 1px solid #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tag-detail:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}
