/**
 * 🎭 크리처 상세 페이지 프리미엄 스타일
 * NIKKE + Blue Archive 스타일
 */

/* ===== 크리처 상세 모달 ===== */
/* ===== 크리처 상세 모달 ===== */
/* 선택자 명시도 강화: ID + Class */
#creature-detail-modal.modal-overlay,
#creature-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    /* 중앙 정렬 강제 */
    /* display: flex !important; <-- 제거됨 */
    justify-content: center !important;
    align-items: center !important;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

#creature-detail-modal .modal-content {
    background: linear-gradient(180deg,
            rgba(15, 15, 26, 0.98) 0%,
            rgba(26, 26, 46, 0.95) 100%);
    border: 1px solid rgba(107, 92, 231, 0.4);
    border-radius: 20px;
    max-width: 1600px !important;
    /* 더 넓게 */
    width: 95vw !important;
    height: 90vh !important;
    max-height: 90vh !important;
    overflow: hidden;
    padding: 0;
    display: flex;
    margin: auto !important;
    /* 중앙 정렬 보조 */
    position: relative;
}

/* ========================================
   [한눈에 보기] Split-View 레이아웃
   좌측: 캐릭터 이미지 / 우측: 정보
   ======================================== */
/* ========================================
   [한눈에 보기] Split-View 레이아웃
   theme.css의 간섭을 막기 위해 ID 선택자 및 !important 사용
   ======================================== */
#creature-detail-modal .creature-detail-container {
    display: flex !important;
    flex-direction: row !important;
    flex: 1 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    /* theme.css의 1100px 제한 해제 */
    max-height: 90vh !important;
    transform: none !important;
    /* 애니메이션 충돌 방지 */
    background: transparent !important;
    /* 이중 배경 방지 */
    border: none !important;
    box-shadow: none !important;
}

/* 좌측: 캐릭터 비주얼 영역 - 1:1 비율 (세로 높이 = 가로 너비) */
.split-view-visual {
    flex: 0 0 auto;
    /* auto로 변경하여 aspect-ratio가 크기 결정 */
    aspect-ratio: 1 / 1;
    /* 1:1 비율 복원 */
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 40%,
            rgba(107, 92, 231, 0.15) 0%,
            rgba(15, 15, 26, 0.95) 70%);
}

.split-view-visual .visual-bg {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background-size: cover;
    background-position: center;
    filter: blur(30px) brightness(0.4);
    z-index: 0;
}

.split-view-visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.6));
    animation: float-gentle 4s ease-in-out infinite;
}

@keyframes float-gentle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.split-view-visual .speech-bubble-modern {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    background: rgba(0, 0, 0, 0.75);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(107, 92, 231, 0.4);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: #e0e0e0;
    text-align: center;
    font-style: italic;
    z-index: 2;
}

/* 우측: 정보 영역 (ID 선택자로 우선순위 확보) */
#creature-detail-modal .split-view-info {
    flex: 1 !important;
    min-width: 400px;
    /* 최소 너비 확보로 찌그러짐 방지 */
    display: flex;
    flex-direction: column;
    padding: 24px !important;
    padding-bottom: 80px !important;
    /* 하단 잘림 방지 (넉넉하게) */
    overflow-y: auto !important;
    max-height: 90vh !important;
    /* 부모 높이와 일치 */
    background: linear-gradient(180deg,
            rgba(20, 20, 35, 0.98) 0%,
            rgba(15, 15, 30, 0.95) 100%);
}

/* 헤더 */
.split-view-info .detail-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: linear-gradient(90deg, rgba(107, 92, 231, 0.2), transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.split-view-info .detail-header .creature-name {
    flex: 1;
    margin: 0;
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
    white-space: nowrap;
    /* 줄바꿈 방지 */
}

.split-view-info .detail-header .btn-close-clean {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #888;
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.2s;
}

.split-view-info .detail-header .btn-close-clean:hover {
    color: #fff;
}

/* 태그 */
.split-view-info .detail-tags {
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    flex-wrap: wrap;
}

.split-view-info .detail-tags span {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #aaa;
}

/* 레벨/경험치 섹션 */
.split-view-info .level-section {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.02);
    margin: 0 15px;
    border-radius: 12px;
}

.split-view-info .level-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.split-view-info .lv-label {
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
}

.split-view-info .exp-label {
    color: #6B5CE7;
    font-weight: bold;
}

/* 호감도 카드 */
.split-view-info .affection-card {
    margin: 10px 15px;
    padding: 12px 15px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(244, 114, 182, 0.05));
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 12px;
}

.split-view-info .affection-card .card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.split-view-info .affection-card .aff-title {
    flex: 1;
    color: #f472b6;
    font-weight: 500;
}

.split-view-info .affection-card .aff-lv {
    color: #ec4899;
    font-weight: bold;
}

.split-view-info .aff-bar-container {
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    overflow: hidden;
}

.split-view-info .aff-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ec4899, #f472b6);
    border-radius: 4px;
}

.split-view-info .aff-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 0.75rem;
    color: #888;
}

/* 스탯 그리드 - 2x2 */
.split-view-info .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 15px;
}

.split-view-info .stats-grid .stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #ccc;
}

.split-view-info .stats-grid .stat-item .icon {
    font-size: 1rem;
}

.split-view-info .stats-grid .stat-item .val {
    margin-left: auto;
    font-weight: bold;
    color: #fff;
}

.split-view-info .stats-grid .stat-item .val.red {
    color: #ef5350;
}

.split-view-info .stats-grid .stat-item .val.yellow {
    color: #ffc107;
}

.split-view-info .stats-grid .stat-item .val.green {
    color: #4caf50;
}

/* 장비 슬롯 */
.split-view-info .equip-slots {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 10px 15px;
}

.split-view-info .equip-slots .slot {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.split-view-info .equip-slots .slot:hover {
    border-color: #6B5CE7;
    background: rgba(107, 92, 231, 0.1);
}

/* 액션 그리드 - 2x2 */
.split-view-info .action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 15px;
    margin-top: auto;
    /* 하단 고정 */
}

.split-view-info .action-grid .action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    color: #ccc;
}

.split-view-info .action-grid .action-card:hover {
    background: rgba(107, 92, 231, 0.15);
    border-color: rgba(107, 92, 231, 0.5);
    transform: translateY(-2px);
}

.split-view-info .action-grid .action-card .icon {
    font-size: 1.5rem;
}

.split-view-info .action-grid .action-card .label {
    font-size: 0.8rem;
    font-weight: 500;
}

.split-view-info .action-grid .action-card.highlight {
    background: linear-gradient(135deg, rgba(107, 92, 231, 0.3), rgba(139, 92, 246, 0.2));
    border-color: #6B5CE7;
    color: #fff;
}

.split-view-info .action-grid .action-card.accent {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.15));
    border-color: #f59e0b;
    color: #fbbf24;
}

.split-view-info .action-grid .action-card.locked {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* 모바일 반응형 - 세로 스택 */
@media (max-width: 768px) {
    .creature-detail-container {
        flex-direction: column;
    }

    .split-view-visual {
        flex: 0 0 200px;
        min-height: 200px;
    }

    .split-view-info {
        flex: 1;
        max-height: calc(85vh - 200px);
    }

    #creature-detail-modal .modal-content {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
}

/* 상세 헤더 */
.detail-header {
    padding: 20px;
    background: linear-gradient(90deg, rgba(107, 92, 231, 0.2), transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.3rem;
}

/* 등급별 배지 */
.rarity-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7em;
    font-weight: bold;
    border: 1px solid currentColor;
}

.rarity-badge.rarity-Normal {
    color: #9E9E9E;
    background: rgba(158, 158, 158, 0.1);
}

.rarity-badge.rarity-Unique {
    color: #66BB6A;
    background: rgba(102, 187, 106, 0.1);
}

.rarity-badge.rarity-Rare {
    color: #42A5F5;
    background: rgba(66, 165, 245, 0.1);
}

.rarity-badge.rarity-Special {
    color: #AB47BC;
    background: rgba(171, 71, 188, 0.1);
}

.rarity-badge.rarity-SR {
    color: #FF7043;
    background: rgba(255, 112, 67, 0.1);
}

.rarity-badge.rarity-SSR {
    color: #EF5350;
    background: rgba(239, 83, 80, 0.1);
}

.rarity-badge.rarity-UR {
    color: #FFD700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 152, 0, 0.2));
    animation: ur-glow 2s ease-in-out infinite;
}

@keyframes ur-glow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    }

    50% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    }
}

/* 크리처 포트레이트 */
.creature-portrait-large {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, rgba(107, 92, 231, 0.1) 0%, transparent 70%);
    overflow: hidden;
}

.creature-portrait-large img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

/* 말풍선 */
.speech-bubble-modal {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(107, 92, 231, 0.5);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: #fff;
    text-align: center;
    font-style: italic;
}

/* 스탯 그래프 (레이더 차트) */
.stat-radar-container {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-radar {
    width: 200px;
    height: 200px;
    position: relative;
}

/* 스탯 바 스타일 */
.stat-bar-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    margin: 15px 20px;
}

.stat-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-bar-row .stat-name {
    width: 60px;
    font-size: 0.85rem;
    color: #aaa;
}

.stat-bar-row .stat-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.stat-bar-row .stat-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.stat-bar-row .stat-value {
    width: 50px;
    text-align: right;
    font-size: 0.9rem;
    font-weight: bold;
    color: #fff;
}

/* 스탯 색상 */
.stat-fill.hp {
    background: linear-gradient(90deg, #ef5350, #e91e63);
}

.stat-fill.atk {
    background: linear-gradient(90deg, #ff9800, #ff5722);
}

.stat-fill.def {
    background: linear-gradient(90deg, #42a5f5, #1e88e5);
}

.stat-fill.spd {
    background: linear-gradient(90deg, #66bb6a, #43a047);
}

/* 스킬 카드 */
.skill-cards-container {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    overflow-x: auto;
}

.skill-card {
    flex: 0 0 140px;
    background: linear-gradient(135deg, rgba(107, 92, 231, 0.15), rgba(26, 26, 46, 0.9));
    border: 1px solid rgba(107, 92, 231, 0.3);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-3px);
    border-color: #6B5CE7;
    box-shadow: 0 5px 20px rgba(107, 92, 231, 0.3);
}

.skill-card .skill-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.skill-card .skill-name {
    font-size: 0.85rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 4px;
}

.skill-card .skill-type {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
}

/* 액션 버튼 그룹 */
.action-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 20px;
}

.action-group .cyber-btn {
    padding: 12px;
    font-size: 0.9rem;
    border-radius: 10px;
}

.action-group .cyber-btn.premium {
    background: linear-gradient(135deg, #6B5CE7, #8B5CF6);
    animation: pulse-premium 2s ease-in-out infinite;
}

@keyframes pulse-premium {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(107, 92, 231, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(107, 92, 231, 0.6);
    }
}

/* 호감도 게이지 */
.affection-gauge {
    padding: 15px 20px;
    margin: 10px 20px;
    background: rgba(255, 64, 129, 0.1);
    border: 1px solid rgba(255, 64, 129, 0.3);
    border-radius: 12px;
}

.affection-gauge .gauge-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.affection-gauge .gauge-bar {
    height: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    overflow: hidden;
}

.affection-gauge .gauge-fill {
    height: 100%;
    background: linear-gradient(90deg, #f48fb1, #ff4081, #e91e63);
    border-radius: 5px;
    transition: width 0.5s ease;
}

/* 장비 슬롯 */
.equipment-slots {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    justify-content: center;
}

.equip-slot {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.equip-slot:hover {
    border-color: #6B5CE7;
    background: rgba(107, 92, 231, 0.1);
}

.equip-slot.filled {
    border-style: solid;
    border-color: #6B5CE7;
}

/* 반응형 */
@media (max-width: 600px) {
    #creature-detail-modal .modal-content {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .skill-cards-container {
        padding: 10px;
    }

    .skill-card {
        flex: 0 0 120px;
    }
}

/* ========================================
   🌞 라이트 모드 - 크리처 상세 모달
   Blue Archive 청량 스타일
   ======================================== */

[data-theme="light"] #creature-detail-modal {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

[data-theme="light"] #creature-detail-modal .modal-content {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(240, 248, 255, 0.95) 100%);
    border: 1px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    color: #1e293b;
}

[data-theme="light"] .detail-header {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), transparent);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

[data-theme="light"] .detail-header h3 {
    color: #1e40af;
}

[data-theme="light"] .rarity-badge {
    box-shadow: none;
}

/* UR 등급은 라이트 모드에서도 금빛 유지 */
[data-theme="light"] .rarity-badge.rarity-UR {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.4), rgba(255, 152, 0, 0.4));
    color: #b45309;
    border-color: #d97706;
}

[data-theme="light"] .creature-portrait-large {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}

[data-theme="light"] .creature-portrait-large img {
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

[data-theme="light"] .speech-bubble-modal {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #1e293b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .stat-bar-container {
    background: rgba(59, 130, 246, 0.05);
}

[data-theme="light"] .stat-bar-row .stat-bar {
    background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .stat-bar-row .stat-value {
    color: #1e293b;
}

[data-theme="light"] .skill-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 248, 255, 0.9));
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .skill-card:hover {
    border-color: #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(255, 255, 255, 0.95));
}

[data-theme="light"] .skill-card .skill-name {
    color: #1e293b;
}

[data-theme="light"] .skill-card .skill-type {
    color: #64748b;
}

[data-theme="light"] .action-group .cyber-btn.premium {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

[data-theme="light"] .affection-gauge {
    background: rgba(236, 72, 153, 0.05);
    border-color: rgba(236, 72, 153, 0.2);
}

[data-theme="light"] .affection-gauge .gauge-bar {
    background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .equip-slot {
    background: rgba(255, 255, 255, 0.8);
    border: 2px dashed rgba(59, 130, 246, 0.3);
}

[data-theme="light"] .equip-slot:hover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

[data-theme="light"] .equip-slot.filled {
    border-color: #3b82f6;
}

/* === 라이트 모드: Split-View 가독성 강화 === */
[data-theme="light"] .split-view-visual {
    background: linear-gradient(180deg,
            rgba(59, 130, 246, 0.08) 0%,
            rgba(240, 248, 255, 0.95) 100%);
}

[data-theme="light"] .split-view-visual .visual-bg {
    filter: blur(40px) brightness(0.7) saturate(1.2);
}

[data-theme="light"] .split-view-visual .speech-bubble-modern {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #1e293b;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] #creature-detail-modal .split-view-info {
    background: linear-gradient(180deg,
            #ffffff 0%,
            #f8fafc 100%) !important;
}

/* 헤더 */
[data-theme="light"] #creature-detail-modal .split-view-info .detail-header {
    background: linear-gradient(90deg,
            rgba(59, 130, 246, 0.15) 0%,
            rgba(59, 130, 246, 0.05) 100%);
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

[data-theme="light"] #creature-detail-modal .split-view-info .detail-header .creature-name {
    color: #0f172a;
    text-shadow: none;
}

[data-theme="light"] #creature-detail-modal .split-view-info .detail-header .btn-close-clean {
    color: #64748b;
}

[data-theme="light"] #creature-detail-modal .split-view-info .detail-header .btn-close-clean:hover {
    color: #1e40af;
}

/* 태그 - 명확한 배경과 테두리 */
[data-theme="light"] #creature-detail-modal .split-view-info .detail-tags span {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #1e40af;
    font-weight: 500;
}

/* 레벨/경험치 */
[data-theme="light"] #creature-detail-modal .split-view-info .level-section {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

[data-theme="light"] #creature-detail-modal .split-view-info .lv-label {
    color: #0f172a;
}

[data-theme="light"] #creature-detail-modal .split-view-info .exp-label {
    color: #2563eb;
}

[data-theme="light"] .split-view-info .progress-bar-container {
    background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .split-view-info .progress-bar-fill {
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
}

/* 호감도 카드 */
[data-theme="light"] .split-view-info .affection-card {
    background: linear-gradient(135deg,
            rgba(236, 72, 153, 0.08) 0%,
            rgba(244, 114, 182, 0.05) 100%);
    border: 1px solid rgba(236, 72, 153, 0.3);
}

[data-theme="light"] .split-view-info .affection-card .aff-title {
    color: #be185d;
}

[data-theme="light"] .split-view-info .affection-card .aff-lv {
    color: #db2777;
}

[data-theme="light"] .split-view-info .aff-bar-container {
    background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .split-view-info .aff-footer {
    color: #64748b;
}

/* 스탯 그리드 - 명확한 구분 */
[data-theme="light"] .split-view-info .stats-grid .stat-item {
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.15);
    color: #334155;
}

[data-theme="light"] .split-view-info .stats-grid .stat-item .val {
    color: #0f172a;
}

[data-theme="light"] .split-view-info .stats-grid .stat-item .val.red {
    color: #dc2626;
}

[data-theme="light"] .split-view-info .stats-grid .stat-item .val.yellow {
    color: #d97706;
}

[data-theme="light"] .split-view-info .stats-grid .stat-item .val.green {
    color: #059669;
}

/* 장비 슬롯 */
[data-theme="light"] .split-view-info .equip-slots .slot {
    background: rgba(59, 130, 246, 0.05);
    border: 2px dashed rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

[data-theme="light"] .split-view-info .equip-slots .slot:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: #2563eb;
}

/* 액션 버튼 - 명확한 구분과 호버 */
[data-theme="light"] .split-view-info .action-grid .action-card {
    background: #ffffff;
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #334155;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .split-view-info .action-grid .action-card:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #1e40af;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

[data-theme="light"] .split-view-info .action-grid .action-card.highlight {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    border-color: #2563eb;
    color: #ffffff;
}

[data-theme="light"] .split-view-info .action-grid .action-card.accent {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    border-color: #d97706;
    color: #ffffff;
}

[data-theme="light"] .split-view-info .action-grid .action-card.locked {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.4);
    color: #dc2626;
}