.hs-vote-wrapper {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
}

.hs-total-votes {
    text-align: center;
    padding: 20px;
    background: #34495e;
    color: white;
    border-radius: 10px;
    margin-bottom: 25px;
}

.hs-total-votes h3 {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.9;
    font-weight: 500;
}

.hs-total-votes .number {
    font-size: 38px;
    font-weight: 700;
}

.hs-result-section {
    background: white;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.hs-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #34495e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.hs-section-title:hover {
    color: #34495e;
}

.hs-toggle-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ecf0f1;
    border: 2px solid #bdc3c7;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    margin-left: 15px;
}

.hs-toggle-btn:hover {
    background: #34495e;
    border-color: #34495e;
}

.hs-toggle-btn:hover::after {
    border-color: white;
}

.hs-toggle-btn::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid #7f8c8d;
    border-bottom: 2px solid #7f8c8d;
    transform: rotate(45deg);
    transition: all 0.3s;
    margin-top: -3px;
}

.hs-toggle-btn.collapsed::after {
    transform: rotate(-45deg);
    margin-top: 2px;
}

.hs-stats-content {
    display: none;
    margin-top: 10px;
}

/* MBTI 그리드 필터 */
.hs-mbti-filter {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.hs-mbti-badge {
    padding: 10px 5px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    background: white;
    color: #495057;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.hs-mbti-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border-color: #667eea;
    color: #667eea;
}

.hs-mbti-badge.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.hs-mbti-badge.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.hs-mbti-badge.disabled:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    border-color: transparent;
    color: #495057;
}

@media (max-width: 768px) {
    .hs-mbti-filter {
        grid-template-columns: repeat(8, 1fr);
        gap: 6px;
        padding: 10px;
    }
    
    .hs-mbti-badge {
        padding: 8px 3px;
        font-size: 11px;
    }
}

.hs-more-btn-wrapper {
    text-align: center;
    margin: 15px 0 10px 0;
}

/* 투표 옵션 - 썸네일 박스 밖으로 */
.hs-vote-item-wrapper {
    display: flex;
    align-items: stretch;
    margin-bottom: 10px;
    gap: 15px;
}

.hs-vote-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: zoom-in;
    transition: transform 0.2s;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hs-vote-thumbnail:hover {
    transform: scale(1.05);
}

.hs-vote-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hs-vote-option {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    flex: 1;
}

.hs-vote-option.selected {
    box-shadow: 0 0 0 3px #f39c12;
}

.hs-vote-option:hover:not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hs-vote-option.disabled {
    cursor: not-allowed;
    opacity: 0.9;
}

.hs-vote-option-1 { background: #27ae60; color: white; }
.hs-vote-option-2 { background: #e74c3c; color: white; }
.hs-vote-option-3 { background: #3498db; color: white; }
.hs-vote-option-4 { background: #95a5a6; color: white; }
.hs-vote-option-5 { background: #9b59b6; color: white; }
.hs-vote-option-6 { background: #e67e22; color: white; }

.hs-vote-option-1:hover:not(.disabled) { background: #229954; }
.hs-vote-option-2:hover:not(.disabled) { background: #c0392b; }
.hs-vote-option-3:hover:not(.disabled) { background: #2980b9; }
.hs-vote-option-4:hover:not(.disabled) { background: #7f8c8d; }
.hs-vote-option-5:hover:not(.disabled) { background: #8e44ad; }
.hs-vote-option-6:hover:not(.disabled) { background: #d35400; }

.hs-vote-label {
    font-size: 18px;
    font-weight: 600;
    flex: 1;
}

.hs-vote-count {
    font-size: 24px;
    font-weight: 700;
    margin-right: 15px;
}

.hs-vote-percent {
    font-size: 16px;
    opacity: 0.9;
}

.hs-vote-message {
    text-align: center;
    padding: 15px;
    background: #ecf0f1;
    border: 1px solid #bdc3c7;
    border-radius: 8px;
    color: #34495e;
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.hs-login-badge {
    display: inline-block;
    padding: 8px 20px;
    background: #3498db;
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(52, 152, 219, 0.3);
}

.hs-login-badge:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.4);
    color: white;
    text-decoration: none;
}

/* 통계 섹션 */
.hs-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.hs-stat-item:hover {
    background: #e9ecef;
    transform: translateX(3px);
}

.hs-stat-label {
    font-weight: 600;
    color: white;
    font-size: 14px;
    min-width: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 5px 12px;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.hs-stat-bar-container {
    flex: 1;
    display: flex;
    gap: 2px;
    margin: 0 12px;
    height: 28px;
}

.hs-stat-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    gap: 4px;
}

.hs-stat-bar-label {
    font-size: 10px;
    opacity: 0.9;
}

.hs-bar-1 { background: #27ae60; }
.hs-bar-2 { background: #e74c3c; }
.hs-bar-3 { background: #3498db; }
.hs-bar-4 { background: #95a5a6; }
.hs-bar-5 { background: #9b59b6; }
.hs-bar-6 { background: #e67e22; }

.hs-stat-counts {
    display: flex;
    gap: 6px;
    min-width: 180px;
    justify-content: flex-end;
    font-size: 15px;
    flex-wrap: wrap;
}

.hs-stat-count {
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0,0,0,0.05);
}

.hs-count-1 { color: #27ae60; }
.hs-count-2 { color: #e74c3c; }
.hs-count-3 { color: #3498db; }
.hs-count-4 { color: #95a5a6; }
.hs-count-5 { color: #9b59b6; }
.hs-count-6 { color: #e67e22; }

.hs-more-btn-wrapper {
    text-align: center;
    margin: 15px 0 10px 0;
}

.hs-btn-more {
    width: 100%;
    padding: 12px;
    border: 2px dashed #dee2e6;
    background: #f8f9fa;
    color: #6c757d;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 600;
}

.hs-btn-more:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}

.hs-mbti-more {
    display: none;
}

/* 협찬 섹션 */
.hs-sponsor-section {
    background: white;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.hs-sponsor-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 2px solid #34495e;
}

.hs-sponsor-content {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.hs-sponsor-images {
    flex: 0 0 300px;
    max-width: 300px;
    min-width: 300px;
}

.hs-sponsor-image-single {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hs-sponsor-image-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper {
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    height: 300px;
    background: #fff;
}

.swiper-wrapper {
    height: 100%;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #fff;
}

.swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff !important;
    background: rgba(0,0,0,0.5);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px !important;
}

.swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: #333 !important;
}

.hs-sponsor-info {
    flex: 1;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.hs-product-name {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
}

.hs-product-desc {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 15px;
}

.hs-timer {
    background: white;
    padding: 18px;
    border-radius: 10px;
    text-align: center;
}

.hs-timer-label {
    font-size: 20px;
    color: #7f8c8d;
    margin-bottom: 12px;
    font-weight: 600;
}

.hs-timer-display {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.hs-timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hs-timer-number {
    font-size: 28px;
    font-weight: 700;
    color: #e74c3c;
    background: #fff5f5;
    padding: 12px 16px;
    border-radius: 8px;
    min-width: 60px;
}

.hs-timer-text {
    font-size: 17px;
    color: #95a5a6;
    margin-top: 6px;
}

/* 당첨자 발표 */
.hs-winner-announce {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 30px;
    margin-top: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    animation: winnerSlideIn 0.6s ease-out;
}

@keyframes winnerSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hs-winner-announce.hs-winner-pending {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
}

.hs-winner-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hs-winner-content {
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 25px;
    backdrop-filter: blur(10px);
}

.hs-winner-icon {
    font-size: 60px;
    margin-bottom: 15px;
    animation: winnerBounce 1s infinite;
}

@keyframes winnerBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hs-winner-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hs-winner-prize {
    font-size: 22px;
    font-weight: 600;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hs-winner-admin-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.3);
    font-size: 15px;
    opacity: 0.9;
}

.hs-winner-admin-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* 이미지 모달 */
.hs-image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    animation: fadeIn 0.3s;
}

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

.hs-image-modal-content {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
    height: 90vh;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.hs-modal-main-image {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    min-height: 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.hs-modal-main-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.hs-modal-thumbnails {
    flex: 0 0 auto;
    height: 100px;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
}

.hs-modal-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.hs-modal-thumbnails::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.hs-modal-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.hs-modal-thumbnails::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.5);
}

.hs-modal-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
    flex-shrink: 0;
}

.hs-modal-thumb:hover {
    border-color: #fff;
    transform: scale(1.05);
}

.hs-modal-thumb.active {
    border-color: #f39c12;
    box-shadow: 0 0 15px rgba(243, 156, 18, 0.5);
}

.hs-modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hs-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.7);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 24px;
    font-weight: bold;
    z-index: 10;
}

.hs-modal-nav:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.1);
}

.hs-modal-nav-prev {
    left: 10px;
}

.hs-modal-nav-next {
    right: 10px;
}

.hs-modal-close {
    position: fixed;
    top: 20px;
    right: 30px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
    border: 2px solid rgba(255,255,255,0.3);
}

.hs-modal-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

.hs-modal-close::before {
    content: '×';
}

@media (max-width: 768px) {
    .hs-sponsor-content {
        flex-direction: column;
    }
    
    .hs-sponsor-images {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }
    
    .hs-sponsor-image-single {
        margin: 0 auto;
        width: 100%;
    }
    
    .swiper {
        width: 100%;
    }
    
    .hs-vote-option {
        padding: 10px 20px;
    }
    
    .hs-stat-item {
        flex-wrap: wrap;
    }
    
    .hs-stat-label {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .hs-stat-bar-container {
        margin: 0 0 8px 0;
    }
    
    .hs-stat-counts {
        width: 100%;
        justify-content: flex-start;
    }
    
    .hs-vote-thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .hs-modal-thumb {
        width: 60px;
        height: 60px;
    }
    
    .hs-image-modal-content {
        width: 95%;
        height: 95vh;
    }
    
    .hs-modal-thumbnails {
        height: 80px;
    }
    
    .hs-modal-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .hs-modal-nav-prev {
        left: 5px;
    }
    
    .hs-modal-nav-next {
        right: 5px;
    }
    
    .hs-winner-name {
        font-size: 22px;
    }
    
    .hs-winner-prize {
        font-size: 18px;
    }
}