.gi_container { 
    max-width: 1000px; 
    min-height: 825px;
    margin: auto; 
    background-color: #fff; 
    border-radius: 8px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
    padding: 5px;
}
.gi_h1 { font-size: 28px; color: #2c3e50; margin-bottom: 5px; }
.gi_top-buttons { text-align: right; }
.character-image-wrapper { position: relative; }
/* 캐릭터 이미지 위 투명 클릭 영역 (전신 모달 열기) - PC */
.character-image-overlay {
	position: absolute;
	top: -151px;
	right: 0;
	left: auto;
	width: 330px;
	height: 145px;
	z-index: 1;
	cursor: pointer;
	background: transparent;
	border: none;
	padding: 0;
}

.gi_top-buttons .gi_btn { background-color: #eee; border: 1px solid #ccc; padding: 8px 15px; border-radius: 4px; cursor: pointer; font-size: 14px; margin-left: 10px; color: #555; transition: background-color 0.3s; }
.gi_top-buttons .gi_btn:hover { background-color: #e0e0e0; }

.gi_tab-navigation { 
    display: flex; 
    border-bottom: 0px solid #ddd; 
    margin: 0px 0px 8px 0px; 
    overflow-x: auto;
    white-space:nowrap;
    -webkit-overflow-scrolling: touch; /* 모바일에서 부드러운 스크롤 */
    scrollbar-width:none;
    position: relative;
    width:100%;

    /* 스크롤 삭제 */
    overflow: auto; /* 스크롤 가능하게 유지 */
    -ms-overflow-style: none; /* IE, Edge */
    scrollbar-width: none;  /* Firefox */
}
.gi_tab-navigation::-webkit-scrollbar {/* 스크롤 삭제 */
    display: none; /* Chrome, Safari, Opera, Edge, Whale */
}

.gi_tab-navigation .gi_tab-btn {
    background-color: transparent;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
    color: #555;
    transition: none; /* 탭 전환 시 깜빡임 방지 */
    display: inline-block;
    background: none;
    border: none;
    padding: 8px 14px;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    outline: none;
    justify-content: center;
    font-weight: normal; /* 기본은 일반 폰트 */
}
.gi_tab-navigation .gi_tab-btn.gi_active {
    color: #2196f3;
    font-weight: bold; /* 선택된 탭만 볼드 */
}
.gi_content-area { display:flex; flex-direction: column; }
.gi_content-area-sub { display: flex; gap: 30px; }
.gi_main-content { 
    flex: 3; 
    flex: 0 0 100%;
    scroll-snap-align: start;
    /* 필요시 width: 100vw; */
}

.gi_product-image { max-width: 100%; height: auto; display: block; margin: 0 auto 15px; }

.gi_data-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.gi_data-table-th {
    border: 2px solid #ffffff !important;
    padding: 12px 7px;
    text-align: center;
    font-size: 15px;
    background-color: #f9f9f9 !important;
    width: 19%;
    font-weight: normal;
    color: #555;
}

.gi_data-table-td {
    /* border: 1px solid #ddd; */
    border: none;
    padding: 12px 15px;
    text-align: left;
    font-size: 15px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
}
.gi_data-table-ico {
    width: 19%;
    padding: 1px;
}

.character-image-container {
    min-width: 330px;
    height: 145px;
    overflow: hidden;
    position: absolute;
    top: -151px; /* 적절한 위치로 조정 */
    left: 0;
    right: 0;
    z-index: -1;
    border:none;
    cursor: default; /* 깜빡이는 커서 제거 */
    user-select: none; /* 텍스트 선택 비활성화 */
    -webkit-user-select: none; /* 웹킷 브라우저 텍스트 선택 비활성화 */
    -moz-user-select: none; /* 파이어폭스 텍스트 선택 비활성화 */
    -ms-user-select: none; /* IE 텍스트 선택 비활성화 */
    pointer-events: none; /* 마우스 이벤트 통과 */
}

.character-image {
    width: 330px;
    position: absolute;
    top: -105px; /* 위로 30px 올림 */
    right: 0%; /* 오른쪽 기준으로 변경 */
    display: block;
    transform: scale(1.4);
    transform: scaleX(-1);
    cursor: default; /* 깜빡이는 커서 제거 */
    user-select: none; /* 텍스트 선택 비활성화 */
    -webkit-user-select: none; /* 웹킷 브라우저 텍스트 선택 비활성화 */
    -moz-user-select: none; /* 파이어폭스 텍스트 선택 비활성화 */
    -ms-user-select: none; /* IE 텍스트 선택 비활성화 */
    pointer-events: none; /* 마우스 이벤트 통과 */
}

.over {
    width: 100%;
    min-width: 330px;
    min-height: 185.14px;
    position: relative;

    /* 출력 애니메이션 */
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    cursor: default; /* 깜빡이는 커서 제거 */
}


.over.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.over_child {
    width: 100%;
    position: relative;
    z-index: 1; /* 텍스트를 앞으로 배치 */
}

.card {
    padding:5px 20px 10px 20px;
    z-index: 100;
    background: none;
}



.card:hover {
    transform: translateY(0px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gi_tab-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0px; /* 초기값, JS에서 동적으로 변경 */
    background: #2196f3;
    border-radius: 2px 2px 0 0;
    transition: left 0.3s cubic-bezier(.4,0,.2,1), width 0.3s cubic-bezier(.4,0,.2,1);
    z-index: 1;
}

.gi_tab-label {
    display: inline-block;
    position: relative;
    z-index: 2;
    /* 스팬(탭 라벨)에서 텍스트 선택/입력 팝업 방지 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.gi_content-area-sub {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.gi_slide-indicator {
    position: relative;
    text-align: center;
    margin: 0 0 5px 0;
}
.gi_dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    background: #ccc;
    border-radius: 50%;
    transition: background 0.3s;
}
.gi_dot.active {
    background: #2196f3;
}

/* PC  */
@media (min-width: 485px) {

    .gi_content-area {
        overflow-x: visible;
        flex-wrap: nowrap;
    }
    .gi_main-content {
        flex: 2;
    }
    .gi_slide-indicator { 
        display: none !important;
    }

    .gi_tab-navigation {
        gap: 10px;
    }

    .gi_tab-btn{
        margin: 0 7px;
    }
}

/* 모바일  */
@media (max-width: 485px) {

    .gi_slide-indicator { 
        position: relative;
        text-align: center;
        margin: 0 0 5px 0;
    }

    .detail-card-container.expand {
        scroll-margin-top: 93px; /* 헤더 높이만큼 여백 */
        scroll-behavior: smooth;
    }
    
    /* 스크롤 성능 최적화 */
    .detail-card-container {
        will-change: transform;
        transform: translateZ(0); /* 하드웨어 가속 활성화 */
    }

    .character-image {
        right: -27%;
    }

    /* 모바일: 추가한 전신 클릭 오버레이만 - 가로 축소, 영역 아래로 이동 */
    .character-image-overlay {
        top: -140px;
        right: 0%;
        width: 150px;
        height: 140px;
    }

    /* 캐릭터 상세: 상단 카드 로드 전부터 영역 높이 예약 (카드 뜨면서 공간 늘어나는 느낌 방지) */
    .character-detail-page .over {
        min-height: 330px;
    }
}

/* 레이아웃 변화 없이 시각적 프레임 추가 */
.ei_equip-container {
	border-bottom: 1.5px solid #e5e7eb;  
	background-color: #fff;
    padding: 0 0 5px 0;   
    margin-top: 3px;
}

/* 레이아웃 변경 없이 그리드 영역 시각 일관성 부여 */
#skill-grid,
#skill-evolution-grid,
#skill-enhancement-grid,
#equipment-grid,
#avatar-grid,
#creature-grid,
#status-grid,
#buff-grid,
#flag-grid {
	border-radius: 0;
	background-color: #fff;
}

/* 스킬 개화/강화 그리드 최소 높이 제거 */
#skill-evolution-grid .tabulator,
#skill-enhancement-grid .tabulator {
	min-height: auto !important;
}

/* 더 구체적인 선택자로 최소 높이 제거 */
.si_content-area #skill-evolution-grid .tabulator,
.si_content-area #skill-enhancement-grid .tabulator {
	min-height: auto !important;
	max-height: none !important;
	height: auto !important;
}

/* 스킬 화면 레이아웃 */
.si_content-area .gi_content-area-sub {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
}

.si_content-area .gi_main-content {
    flex: 1;
    min-width: 0;
    scroll-snap-align: start;
}

/* 스킬 화면에서 스크롤 인디케이터 표시 */
.si_content-area .gi_slide-indicator {
    display: block !important;
}

/* PC에서 스킬 화면 레이아웃 */
@media (min-width: 485px) {
    .si_content-area .gi_content-area-sub {
        overflow-x: visible;
    }
    .si_content-area .gi_slide-indicator {
        display: none !important;
    }
}

/* 모바일에서 스킬 화면 레이아웃 */
@media (max-width: 485px) {
    .si_content-area .gi_content-area-sub {
        flex-direction: row;
        gap: 0;
    }
    .si_content-area .gi_main-content {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

.ei_equip-grid {
    display: grid;
    grid-template-columns: repeat(5, 55px);
    grid-template-rows: repeat(4, 55px);
    gap: 1px 4px;
    display: grid;
    margin-left: auto;
	margin-right: auto;
	justify-content: center; /* center the whole grid horizontally */
    border-right: none;
    border-left: none;
}

.ei_equip-header {
    height: 30px;
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #f1f3f4 !important;
    /* 하위항목이 가운데 정렬 되도록 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.ei_equip-header-text {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}

/* 스킬 탭: 네비게이터 아래 인풋 + 스킬 코드 복사 버튼 */
.skill-tab-copy-row {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 0 4px;
}
.skill-tab-copy-row .skill-codes-input {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    font-size: 13px;
    font-family: monospace;
    color: #6c757d;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background-color: #f8f9fa;
    resize: vertical;
    height: 30px;
}
/* 캐릭터 영역 btn-primary: 포커스 시 기본색, 클릭 중(active) 호버색과 동일 */
.gi_container button.btn-primary:focus,
.gi_container button.btn-primary.focus {
    outline: none !important;
    box-shadow: none !important;
    color: #fff;
    background-color: #4a90e2;
    border-color: #4a90e2;
}
.gi_container button.btn-primary:active,
.gi_container button.btn-primary.active {
    outline: none !important;
    box-shadow: none !important;
    color: #fff !important;
    background-color: #357abd !important;
    border-color: #357abd !important;
}

.skill-tab-copy-row .skill-codes-copy-btn {
    padding: 0px 6px;
    font-size: 13px;
    white-space: nowrap;
    border: 1px solid transparent;
    height: 30px;
}

/* 세트비교 영역 전체 비교 버튼 */
#compare-all-sets-btn {
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
    position: absolute;
    right: 4px;
    outline: none !important;
    box-shadow: none !important;
    border: 1px solid transparent !important;
}

.ei_equip-item {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.ei_equip-item:hover {
    transform: scale(1.05);
}

.ei_equip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.ei_equip-plus {
    position: absolute;
    bottom: 2px;
    right: 1px;
    background: rgba(0,0,0,0.6);
    font-weight: bold;
    font-size: 13px;
    padding: 0 4px;
    border-radius: 4px;
    pointer-events: none;
}

.ei_equip-fusion {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 18px;
    right: 8px;
    top: -2px;
}

.ei_switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.ei_switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ei_slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: -2px; right: 0; bottom: -2px;
    background-color: #eee;
    border-radius: 24px;
    border: 1px solid #eee;   /* 항상 회색 테두리 */
    transition: background-color .4s, border-color .4s;
}
.ei_switch input:checked + .ei_slider {
    background-color: #96c0ed;
    border: 1px solid #eee;   /* ON일 때도 테두리 유지 */
}
.ei_slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: transform .4s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.ei_switch input:checked + .ei_slider:before {
    transform: translateX(20px);
}

.ei_switch-label {
    margin-left: 8px;
    color: #bbb;
    font-size: 16px;
    vertical-align: middle;
}

.ei_transparent {
    opacity: 0 !important;
    pointer-events: none;
}

.ei_equip-gap {
    width: 12px;
    height: 48px;
    background: none;
}

/* 기존 ico_equipment 스타일 유지 */
.ico_equipment {
    width: 32px;
    height: 32px;
}



@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.ico_skill {
    width: 32px;
    height: 32px;
    border-radius: 3px;
    image-rendering: auto;
    -webkit-transform: translateZ(0); /* paint 안정화 */
    transform: translateZ(0);
    background-color: #140E11;
}

/* 진화 스킬 아이콘 보라색 필터 */
.evolution-skill-icon {
    /* filter: hue-rotate(235deg) saturate(1.3) brightness(1); */
    /* filter: hue-rotate(240deg) saturate(2.3) brightness(0.9); */
    filter: hue-rotate(231deg) saturate(1.3) brightness(1.2);
}

/* 스킬 개화/강화 체크 셀 (CDN 이미지 + 로드 실패 시 동그라미) */
.skill-check-cell {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
}
.skill-check-cell .skill-check-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.skill-check-cell .skill-check-fallback {
    display: none;
    width: 20px;
    height: 20px;
    border: 1px solid #666;
    border-radius: 50%;
    margin: 0 auto;
}
.skill-check-fallback {
    width: 20px;
    height: 20px;
    border: 1px solid #666;
    border-radius: 50%;
    margin: 0 auto;
}

/* 스킬 강화 탭만: 체크 아이콘 조금 더 크게 */
#skill-enhancement-grid .skill-check-cell {
    width: 26px;
    height: 26px;
}
#skill-enhancement-grid .skill-check-cell .skill-check-img {
    width: 26px;
    height: 26px;
}
#skill-enhancement-grid .skill-check-cell .skill-check-fallback {
    width: 26px;
    height: 26px;
}

/* 강화1: 아주 약한 빨간 필터 */
.skill-check-enhance-1 .skill-check-img {
    filter: sepia(0.55) hue-rotate(-18deg) saturate(1.08);
}
/* 강화2: 아주 약한 파란 필터 */
.skill-check-enhance-2 .skill-check-img {
    filter: sepia(0.15) hue-rotate(195deg) saturate(1.08);
}

/* 새로고침 버튼과 시간 표시 스타일 */
.update-time {
    font-size: 11px;
    color: #666;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
}

.update-status-icon {
    width: 28px;
    height: 28px;
    vertical-align: middle;
    opacity: 0.7;
    /* 배경색  투명하게 */
    background-color: transparent;

}

.update-status-icon[src*="re_gray.png"] {
    opacity: 0.4;
}

/* 토글 스타일: src 교체 없이 색상 차이 표현용 */
.update-status-icon.is-cooling { opacity: 0.4; filter: grayscale(50%); }
.update-status-icon.is-up { opacity: 0.9; filter: none; }

.update-time-value {
    padding-top: 6px;
    opacity: 0.4;
}

/* 상세 카드 스타일 */
.detail-card-container {
    position: relative;
    width: 100%;
    background: white;
    border: none;
    display: none;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    transform-origin: top;
}

.detail-card-container.expand {
    animation: expandCard 0.3s ease-in-out forwards;
}

.detail-card-container.collapse {
    animation: collapseCard 0.3s ease-in-out forwards;
}

@keyframes expandCard {
    0% {
        max-height: 0;
        opacity: 0;
        transform: scaleY(0);
    }
    100% {
        max-height: 400px;
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes collapseCard {
    0% {
        max-height: 400px;
        opacity: 1;
        transform: scaleY(1);
    }
    100% {
        max-height: 0;
        opacity: 0;
        transform: scaleY(0);
    }
}

.detail-card {
    border: 1px solid #e0e0e0;
    border-radius: 6px 6px 0 0;
    background: white;
    margin: 4px 0;
    overflow: hidden;
    position: relative;
}

.detail-card-header {
    display: none;
}

.detail-card-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.detail-card-close {
    background: none;
    border: none;
    color: #666;
    font-size: 25px;
    cursor: pointer;
    padding: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
    position: absolute;
    top: 3px;
    right: 5px;
    z-index: 10;
}

.detail-card-close:hover {
    background-color: #e9ecef;
}

.detail-card-content {
    padding: 6px 8px 0 8px;
    overflow-y: auto;
}

.detail-item {
    display: flex;
    align-items: normal;
    padding: 5px 0;
    border-bottom: 1px solid #f1f3f4;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}


/* 같은 줄에서 칸이 나눠서 들어가는 레이아웃 */
.detail-item-inline {
    display: flex;
    margin-bottom: 8px;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #f1f3f4;
    gap: 20px;
}

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

.detail-item-inline .detail-item-label {
    font-weight: 500;
    color: #555;
    min-width: 60px;
    font-size: 13px;
}

.detail-item-inline .detail-item-value {
    color: #333;
    font-size: 13px;
}

/* 테이블 형태의 레이아웃 */
.detail-item-table_4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    background-color: #fff;
    padding: 8px 0 0 0;
}

.detail-item-table_2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #fff;
    padding: 4px 0 0 0;
}

.detail-item-table_box {
    border-bottom: 1px solid #f1f3f4;
}

.detail-item-table .detail-item-label {
    font-weight: 500;
    color: #555;
    font-size: 13px;
}

.detail-item-table .detail-item-value {
    color: #333;
    font-size: 13px;
}

.detail-item-label {
    font-weight: 500;
    color: #555;
    min-width: 73px;
    margin-right: 12px;
    font-size: 13px;
    border-right: 1px solid #d6d6d6;
}

.detail-item-value {
    flex: 1;
    color: #333;
    margin-right: 12px;
    padding-left: 3px;
    font-size: 13px;
}

.detail-item-image {
    width: 26px;
    height: 26px;
    border-radius: 3px;
    flex-shrink: 0;
    flex-grow: 0;
    position: relative;
    z-index: 1;
}

.detail-item-content {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100% - 40px);
    margin-left: 10px;
}

.detail-item-name {
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    width: 100%;
}

.detail-item-subtitle {
    font-weight: 400;
    font-size: 11px;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    width: 100%;
    opacity: 0.8;
}

.detail-skill-image {
    width: 36px;
    height: 36px;
    border-radius: 3px;
    flex-shrink: 0;
    flex-grow: 0;
    position: relative;
    z-index: 1;
}

.detail-item-description {
    font-size: 11px;
    color: #666;
}

/* 그리드 행 호버 효과 */
.tabulator-row:hover {
    background-color: #f8f9fa !important;
    cursor: pointer;
    transition: background-color 0.2s;
}

/* 빠른 연속 클릭 시 텍스트 드래그 방지 */
.tabulator,
.tabulator * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    
    .detail-card-content {
        overflow-x: hidden;
    }
    
    .detail-item {
        flex-direction: row;
        align-items: normal;
        justify-content: flex-start;
    }
    
    .detail-item-image {
        margin-right: 0;
        margin-bottom: 0;
        align-self: center;
    }
    
    .detail-item-content {
        margin-left: 10px;
        max-width: calc(100% - 40px);
    }

    .detail-skill-image {
        margin-right: 0;
        margin-bottom: 0;
        align-self: center;
    }
}

/* 하단 사다리꼴 닫기 버튼 */
.detail-card-bottom-close {
    display: flex;
    justify-content: center;
    margin-top: -10px;
    padding-bottom: 10px;
    position: relative;
    z-index: 5;
}

.detail-card-trapezoid-close {
    background: linear-gradient(135deg, #f7f7f7 60%, #5fb1f559 100%);
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 12px;
    color: #babdc2;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    transform: perspective(100px) rotateX(-15deg);
    box-shadow: 1px 2px 4px rgba(0,0,0,0.1);
    width: 100%;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -5px;   
}

.detail-card-trapezoid-close:hover {
    background: linear-gradient(135deg, #c4c4c7 30%, #5fb1f559 100%);
    color: #495057;
    transform: perspective(100px) rotateX(-15deg) scale(1.05);
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.detail-card-trapezoid-close:active {
    transform: perspective(100px) rotateX(-15deg) scale(0.95);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.close-text {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 버프 강화 관련 스타일 */
.rarity-legendary {
    color: #ff6b35 !important;
    font-weight: bold;
}

.buff-enhancement {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    display: inline-block;
    margin-top: 2px;
    line-height: 1.2;
}

.buff-summary {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 8px 12px;
    margin: 10px 0;
    font-size: 14px;
    color: #856404;
}

/* 버프 강화 아이콘 스타일 */
.ei_equip-plus.rarity-legendary {
    color: #ff6b35 !important;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: buffGlow 2s ease-in-out infinite alternate;
}

@keyframes buffGlow {
    from {
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3), 0 0 5px rgba(255, 107, 53, 0.5);
    }
    to {
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3), 0 0 10px rgba(255, 107, 53, 0.8);
    }
}

/* 카드 높이 전환용 애니메이션 클래스 */
.detail-card--anim {
	overflow: hidden;
	max-height: 0px;
	transition: max-height 400ms ease;
	will-change: max-height;
}
.detail-card--anim.is-open {
	max-height: var(--card-max, 1200px);
}

/* 기본 카드(베이스) 전용 스타일 */
.detail-card--base .detail-card-close,
.detail-card--base .detail-card-trapezoid-close {
	display: none;
}

/* 명성과 점수 통일된 스타일 */
.card .fame,
.score-info,
.buff-score-info {
    font-size: 14px;
    font-weight: 600;
    margin: 1px 0;
    padding: 1px 0;
    line-height: 1.3;
}

/* 명성 색상 */
.card .fame {
    color: #555; /* 더 진한 회색 */
}

/* 점수 색상 */
.score-info {
    color: #2196f3; /* 파란색 */
}

/* 버퍼일 때 일반 점수 색상 - 파란색이 아님 */
.score-info.buffer-mode {
    color: #6c757d !important; /* 회색 */
}

/* 버퍼일 때 일반 점수 값 색상도 변경 */
.score-info.buffer-mode .score-value,
.score-info.buffer-mode .data_character_score,
.score-info.buffer-mode span {
    color: #6c757d !important; /* 회색 */
}

/* 버프 점수 색상 - 파란색 계열 */
.buff-score-info {
    color: #2196f3; /* 파란색 */
}

/* 버프 점수 값 색상 - 파란색 계열 */
.buff-score-info .buff-score-value,
.data_character_buff_score .buff-score-value {
    color: #2196f3; /* 파란색 */
}

/* 명성 값과 점수 값 통일된 스타일 */
.fame-value,
.score-value,
.buff-score-value {
    font-weight: 600;
    margin-left: 5px;
}

/* 명성 아이콘 */
.card .fame::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('/img/ico_fame.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: text-top;
    margin-top: 3px;
}

/* 버프 점수 아이콘 - 일반 점수와 완전히 동일 */
.buff-score-info { position: relative; padding-left: 21px; }
.buff-score-info::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 19px;
    /* 버프 점수 전용 아이콘 */
    background-image: url('/img/ico_buff_score.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 180% auto; /* 내용만 확대 */
    filter: hue-rotate(210deg) saturate(3) brightness(1.1);
}

/* 점수 아이콘 */
.score-info { position: relative; padding-left: 21px; }
.score-info::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 19px;
    /* 매니저 화면과 동일: 배경 이미지 + 파란 필터 */
    background-image: url('/img/ico_score.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 180% auto; /* 내용만 확대 */
    filter: hue-rotate(210deg) saturate(3) brightness(1.1);
}

/* 중앙 오버레이 제거 (사각형 문제 방지) */

/* 내부 아이콘 디테일(검은색) 오버레이 */
/* 중앙 오버레이 제거: 단일 아이콘로 표시 */

/* 점수 라벨 */
.score-label {
    font-weight: bold;
    color: #2196f3;
    margin-right: 8px;
}

/* 점수 값 */
.score-value {
    font-weight: bold;
    color: #2196f3;
    margin-left: 4px;
}

/* 버퍼 모드일 때 점수 값 색상 덮어쓰기 */
.score-info.buffer-mode .score-value {
    color: #6c757d !important;
}

/* 점수 상세 내역 */
.score-breakdown {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #6c757d;
    line-height: 1.3;
    font-weight: normal;
}

.score-breakdown small {
    color: #6c757d;
    opacity: 0.8;
}

/* 등수 새로고침 버튼 비활성화 스타일 */
#refresh-rankings-btn:disabled {
    background: #f0f4f7 !important;
    border-color: #d8d8d8 !important;
    color: #6c757d !important;
    opacity: 0.6;
    cursor: pointer;
}

/* 아이템 정보 그리드 컨테이너 */
.info-grid-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e3e6ea;
    overflow: hidden;
    position: relative;
}

/* 아이템 정보 스크롤 컨테이너 스타일링 */
.info-scroll-container::-webkit-scrollbar {
    height: 4px; /* 스크롤바 높이 축소 */
}

.info-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.info-scroll-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.info-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 모바일에서 아이템 정보 섹션 완전 숨김 */
@media (max-width: 768px) {
    #character-info-section {
        display: none !important; /* 모바일에서 아이템 정보 섹션 완전 숨김 */
    }
}


/* 아이템 정보 그리드 스타일 */
.info-card {
    background: transparent;
    border: none;
    padding: 0; /* 패딩 제거 */
    text-align: center;
    min-width: 160px; /* 전체 카드 크기 증가 */
    transition: all 0.3s ease;
    position: relative;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.info-card .info-value {
    padding: 8px 10px; /* 기본 패딩 축소 */
    height: 48px; /* 고정 높이 설정 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
    line-height: 1.2; /* 줄 간격 설정 */
}

/* 두 줄 이상인 경우 패딩 자동 조정 */
.info-card .info-value[style*="line-height"] {
    padding: 8px 10px; /* 두 줄일 때 위아래 패딩 축소 */
}

/* 시브, 버프강화, 짙편린 카드 크기 축소 */
.info-card:nth-child(5), /* 시브 */
.info-card:nth-child(6), /* 버프강화 */
.info-card:nth-child(7) { /* 짙편린 */
    min-width: 100px; /* 기본 160px에서 더 축소 */
}

/* 모바일 반응형 - 모든 카드 크기 축소 */
@media (max-width: 768px) {
    .info-card {
        min-width: 120px; /* 기본 160px에서 모바일용으로 축소 */
        padding: 16px 8px; /* 패딩도 축소 */
    }
    
    .info-card:nth-child(5), /* 시브 */
    .info-card:nth-child(6), /* 버프강화 */
    .info-card:nth-child(7) { /* 짙편린 */
        min-width: 80px; /* 모바일에서 더 축소 */
        padding: 16px 6px; /* 패딩도 더 축소 */
    }
    
    .info-card .info-value {
        padding: 6px 8px; /* 값 영역 패딩 축소 */
        font-size: 11px; /* 폰트 크기도 약간 축소 */
    }
    
    .info-card .info-label {
        font-size: 11px; /* 라벨 폰트 크기도 축소 */
    }
}

/* 더 작은 모바일 화면 */
@media (max-width: 480px) {
    .info-card {
        min-width: 100px; /* 더 작은 화면에서 추가 축소 */
        padding: 12px 6px;
    }
    
    .info-card:nth-child(5), /* 시브 */
    .info-card:nth-child(6), /* 버프강화 */
    .info-card:nth-child(7) { /* 짙편린 */
        min-width: 70px; /* 더 작은 화면에서 더 축소 */
        padding: 12px 4px;
    }
    
    .info-card .info-value {
        padding: 4px 6px;
        font-size: 10px;
        min-height: 36px; /* 높이도 축소 */
    }
    
    .info-card .info-label {
        font-size: 10px;
    }
}

.info-card:last-child {
    border-right: none;
}

.info-card:hover {
    background: rgba(0, 123, 255, 0.05);
    transform: translateY(-2px);
}

.info-label {
    font-size: 11px;
    color: #495057;
    margin-bottom: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    padding: 3px 0;
}

.character-info-label {
    position: relative;
    display: inline-block;
}

.character-info-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--grade-color, #dee2e6); /* CSS 변수로 동적 색상 */
    border-radius: 1px;
}

.info-value {
    font-weight: 600;
    color: #2c3e50;
    font-size: 12px;
    line-height: 1.4;
    word-break: break-word;
    white-space: normal; /* 줄바꿈 허용 */
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 6px; /* 좌우 패딩 증가 */
    background: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(2px);
    text-align: center;
}

/* 캐릭터 정보 섹션 스타일 */
.character-rankings-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
}

.character-rankings-info {
    display: flex;
    flex-direction: column;
}

.character-ranking-row {
    display: flex;
    align-items: center;
    gap: 5px;
}

.character-ranking-row:first-child {
    margin-bottom: 3px;
}

.character-ranking-label {
    font-weight: 500;
    font-size: 11px;
    color: #6c757d;
}

.character-ranking-value {
    font-weight: 500;
    color: #2196f3;
    font-size: 11px;
}

.refresh-rankings-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    margin-top: -6px;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 11px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.refresh-rankings-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.refresh-rankings-btn:disabled {
    background: #e9ecef !important;
    border-color: #ced4da !important;
    color: #6c757d !important;
    opacity: 0.6;
    cursor: pointer;
}

.refresh-rankings-btn i {
    margin-right: 3px;
}

.character-info-grid {
    margin-top: 6px;
}

.character-info-scroll {
    overflow-x: auto;
    white-space: nowrap;
}

.character-info-container {
    display: inline-grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    min-width: 100%;
}

.character-info-card {
    background: transparent;
    border: none;
    padding: 0;
    text-align: center;
    min-width: 160px;
    transition: all 0.3s ease;
    position: relative;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.character-info-card:nth-child(5),
.character-info-card:nth-child(6),
.character-info-card:nth-child(7) {
    min-width: 100px;
}

.character-info-label {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    padding: 4px 1px 4px;
}

.character-info-value {
    padding: 5px 0;
    display: flex; /* 세로 중앙 정렬 */
    align-items: center; /* 세로 중앙 */
    justify-content: center; /* 가로 중앙 */
    height: 44px;
    text-align: center;
    box-sizing: border-box;
    overflow-wrap: anywhere; /* 긴 단어도 줄바꿈 */
    word-break: break-word;
    white-space: normal; /* 여러 줄 허용 */
    line-height: 1.3;
    font-size: 13px;
    font-weight: 500;
}

.character-tab-separator {
    margin: 4px 0 0 0;
}

/* 점수 갱신 로딩 인디케이터 */
.score-loading-indicator {
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-left: 2px;
	border: 2px solid rgba(33, 150, 243, 0.2);
	border-top-color: #2196f3;
	border-radius: 50%;
	animation: score-spinner-rotate 0.8s linear infinite;
	vertical-align: middle;
}

@keyframes score-spinner-rotate {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* 융합석 이미지 표기 스타일 */
.ei_fusion-stone-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 10;
}

/* 융합석 구분별 이미지 */
/* 일반 유니크 */
.ei_fusion-stone-normal-unique {
	background-image: url('/img/fusion/fusion_stone_unique_set.png');
	background-size: 20px 20px;
	background-position: top right;
	background-repeat: no-repeat;
}

/* 일반 에픽 */
.ei_fusion-stone-normal-epic {
	background-image: url('/img/fusion/fusion_stone_epic_set.png');
	background-size: 20px 20px;
	background-position: top right;
	background-repeat: no-repeat;
}

/* 고유 유니크 */
.ei_fusion-stone-unique-unique {
	background-image: url('/img/fusion/fusion_stone_unique.png');
	background-size: 20px 20px;
	background-position: top right;
	background-repeat: no-repeat;
}

/* 고유 에픽 */
.ei_fusion-stone-unique-epic {
	background-image: url('/img/fusion/fusion_stone_epic.png');
	background-size: 20px 20px;
	background-position: top right;
	background-repeat: no-repeat;
}

/* 방어구 고유 유니크 */
.ei_fusion-stone-unique-unique-armor {
	background-image: url('/img/fusion/fusion_stone_unique_armor.png');
	background-size: 20px 20px;
	background-position: top right;
	background-repeat: no-repeat;
}

/* 방어구 고유 에픽 */
.ei_fusion-stone-unique-epic-armor {
	background-image: url('/img/fusion/fusion_stone_epic_armor.png');
	background-size: 20px 20px;
	background-position: top right;
	background-repeat: no-repeat;
}



/* 일반 장비 SET 표기 */
.ei_fusion-stone-set {
	position: absolute;
	top: 2.5px;
	right: 2.8px;
	background: transparent;
	color: rgba(0, 0, 0, 0.6);
	font-size: 8px;
	font-weight: bold;
	padding: 1px 2px;
	border-radius: 2px;
	z-index: 15;
	text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
	pointer-events: none;
}

.score-summary-section {
	padding: 20px;
	background-color: #fff;
	width: 100%;
	box-sizing: border-box;
}

.score-summary-container {
	width: 100%;
	margin: 0;
	box-sizing: border-box;
}

.score-summary-table {
	width: 100%;
	display: table;
	border-collapse: collapse;
}

.score-summary-row {
	display: table-row;
	border-bottom: 1px solid #e9ecef;
}

.score-summary-row:last-child {
	border-bottom: none;
}

.score-summary-row.score-summary-header {
	font-weight: 600;
}

.score-summary-cell {
	display: table-cell;
	padding: 12px 16px;
	vertical-align: middle;
	font-size: 13px;
}

.score-summary-cell-label {
	width: 120px;
	font-weight: 500;
	color: #586069;
	line-height: 1.4;
	white-space: nowrap;
}

.score-summary-cell-value {
	text-align: right;
	color: #6c757d;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: flex-start;
	gap: 4px;
	box-sizing: border-box;
}

.score-summary-cell-increase {
	text-align: right;
	font-weight: 600;
	color: #24292e;
	width: 30%;
}

.score-summary-header .score-summary-cell {
	font-size: 12px;
	color: #868e96;
	padding: 10px 11px;
}

.score-summary-title-value {
	font-size: 13px;
	font-weight: 500;
	color: #6c757d;
	text-align: right;
}

.score-summary-value {
	font-weight: 500;
	color: #24292e;
	text-align: right;
	font-size: 13px;
	line-height: 1.5;
	word-break: break-word;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
}

/* 계산 과정 표시 (제목 아래) */
.score-summary-calc-detail {
	font-size: 11px;
	color: #6a737d;
	text-align: left;
	line-height: 1.4;
	font-weight: 400;
	display: block;
	margin-top: 2px;
}

/* 증가율 옆에 표시되는 계산 설명 */
.score-summary-calc-hint {
	font-size: 11px;
	color: #6a737d;
	font-weight: 400;
	display: block;
	margin-top: 2px;
	margin-left: 0;
	line-height: 1.4;
}

/* 도움말 아이콘 */
.score-summary-help-icon {
	display: inline-block;
	margin-left: 8px;
	cursor: pointer;
	color: #6a737d;
	font-size: 18px;
	vertical-align: middle;
	transition: color 0.2s, opacity 0.2s;
	line-height: 1;
	opacity: 0.5;
	white-space: nowrap;
}

.score-summary-help-icon:hover {
	color: #2196f3;
	opacity: 0.8;
}

.score-summary-help-icon i {
	display: inline-block;
	vertical-align: middle;
}

/* 계산식 도움말 모달 */
.score-help-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
}

.score-help-modal.show {
	display: block;
}

.score-help-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(2px);
}

.score-help-modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	max-width: 500px;
	width: 90%;
	max-height: 80vh;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	z-index: 10001;
}

.score-help-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	border-bottom: 1px solid #e9ecef;
	background-color: #f8f9fa;
}

.score-help-modal-title {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: #333;
}

.score-help-modal-close {
	background: none;
	border: none;
	font-size: 20px;
	color: #6c757d;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	transition: background-color 0.2s, color 0.2s;
}

.score-help-modal-close:hover {
	background-color: #e9ecef;
	color: #333;
}

.score-help-modal-body {
	padding: 20px;
	overflow-y: auto;
	flex: 1;
}

.score-help-modal-body p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: #333;
	white-space: pre-wrap;
	word-break: break-word;
}

/* 캐릭터 전신 이미지 모달 */
.character-fullbody-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
}
.character-fullbody-modal.show {
	display: block;
}
.character-fullbody-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(80, 80, 80, 0.55);
}
/* 캐릭터 전신 모달 기본 스타일 */
.character-fullbody-modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	z-index: 10001;
}
.character-fullbody-modal-header {
	display: none;
}
.character-fullbody-modal-body {
	padding: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.character-fullbody-modal-img {
	max-width: 100%;
	width: auto;
	height: auto;
	display: block;
	object-fit: contain;
	transform-origin: center center;
}

/* PC: 캐릭터 전신 모달 (모바일과 동일한 실제 이미지 크기로 표시) */
@media (min-width: 486px) {
	.character-fullbody-modal-content {
		max-width: 420px;
		max-height: 560px;
		width: 420px;
	}
	.character-fullbody-modal-body {
		min-height: 550px;
	}
	.character-fullbody-modal-img {
		max-height: 550px;
		transform: scale(3.1) translateY(-6%) translateX(1%);
	}
}

/* 모바일: 캐릭터 전신 모달 - 이미지 확대, 넘치는 부분 잘림 */
@media (max-width: 485px) {
	.character-fullbody-modal-content {
		max-width: 70vw;
		max-height: 61vh;
		width: 68vw;
	}
	.character-fullbody-modal-body {
		min-height: 68vh;
		padding: 2px;
		padding-top: 1vh;
		align-items: flex-start;
	}
	.character-fullbody-modal-img {
		max-height: 70vh;
		transform: scale(2.1) translateY(5%) translateX(1%);
	}
}

/* 증가율 항목 강조 */
.score-summary-row.score-summary-item-highlight {
	background-color: #fff;
}

.score-summary-row.score-summary-item-highlight .score-summary-cell-label {
	font-weight: 600;
	color: #212529;
}

.score-summary-row.score-summary-item-highlight .score-summary-cell-increase .score-summary-value {
	font-weight: 700;
	color: #212529;
	font-size: 15px;
	letter-spacing: -0.3px;
}

.score-summary-row.score-summary-item-highlight .score-summary-calc-hint {
	color: #6a737d;
	font-size: 11px;
}

/* 모바일 반응형 - Grid로 25:35:40 고정 (1구분 2값 3데미지증가율) */
@media (max-width: 768px) {
	.score-summary-section {
		padding: 12px 8px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	
	.score-summary-container {
		width: 100%;
		min-width: 100%;
		max-width: 100%;
		overflow-x: visible;
		box-sizing: border-box;
	}
	
	.score-summary-table {
		display: block;
		width: 100%;
		min-width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	
	.score-summary-row {
		display: grid;
		grid-template-columns: minmax(0, 25fr) minmax(0, 35fr) minmax(0, 40fr);
		width: 100%;
		min-width: 100%;
		border-bottom: 1px solid #e9ecef;
		box-sizing: border-box;
	}
	
	.score-summary-row:last-child {
		border-bottom: none;
	}
	
	.score-summary-cell {
		display: block;
		box-sizing: border-box;
		padding: 8px 10px;
		font-size: 12px;
		white-space: normal;
		overflow: visible;
		word-break: break-word;
		overflow-wrap: break-word;
		min-width: 0;
	}
	
	.score-summary-cell-label {
		width: auto;
		min-width: 0;
		font-size: 12px;
		padding-right: 10px;
	}
	
	.score-summary-cell-value {
		padding-left: 10px;
		padding-right: 10px;
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		justify-content: flex-start;
	}
	
	.score-summary-cell-value .score-summary-title-value,
	.score-summary-cell-value .score-summary-calc-detail {
		text-align: right;
		width: 100%;
		display: block;
		word-break: break-word;
		overflow-wrap: break-word;
		min-width: 0;
	}
	
	.score-summary-cell-increase {
		width: 100%;
		min-width: 0;
		padding-left: 10px;
		box-sizing: border-box;
	}
	
	.score-summary-title-value {
		font-size: 12px;
	}
	
	.score-summary-calc-detail {
		font-size: 10px;
		margin-top: 2px;
	}
	
	.score-summary-value {
		font-size: 12px;
	}
	
	.score-summary-calc-hint {
		font-size: 10px;
	}
	
	.score-summary-help-icon {
		font-size: 14px;
		margin-left: 4px;
	}
}

@media (max-width: 480px) {
	.score-summary-section {
		padding: 10px 6px;
	}
	
	.score-summary-row {
		grid-template-columns: minmax(0, 25fr) minmax(0, 35fr) minmax(0, 40fr);
		min-width: 100%;
	}
	
	.score-summary-cell {
		display: block;
		box-sizing: border-box;
		padding: 6px 8px;
		font-size: 11px;
	}
	
	.score-summary-cell-label {
		width: auto;
		min-width: 0;
		font-size: 11px;
		padding-right: 8px;
	}
	
	.score-summary-cell-value {
		padding-left: 8px;
		padding-right: 8px;
		box-sizing: border-box;
	}
	
	.score-summary-cell-increase {
		width: 100%;
		min-width: 0;
		padding-left: 8px;
		box-sizing: border-box;
	}
	
	.score-summary-title-value {
		font-size: 11px;
	}
	
	.score-summary-calc-detail {
		font-size: 9px;
		margin-top: 2px;
	}
	
	.score-summary-value {
		font-size: 11px;
	}
	
	.score-summary-help-icon {
		font-size: 13px;
		margin-left: 3px;
	}
}
