  /* ------------------------------------------- */
    /* [공통] 헤더 기본 스타일 */
    /* ------------------------------------------- */
    *{letter-spacing: -0.45px; /*user-select: none; -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none;*/}
    img{user-drag: none; -webkit-user-drag: none; -khtml-user-drag: none; -moz-user-drag: none; -o-user-drag: none;}
    body{overflow-x: hidden;}
    
    body.sub-body { margin-top: 165px; } 
    body.sub-body.hide-top-header { margin-top: 100px; }

    /* [중요] 스크롤 잠금 */
    html.no-scroll, body.no-scroll { overflow: hidden !important; height: 100% !important; touch-action: none; }

    /* 헤더 컨테이너 */
    .headerContainer{width: 100%; position: fixed; top: 0; left: 0; z-index: 100; border-bottom: 1px solid #E8E8E8; transition: all 0.3s ease;}
    .topHeader{ width: 100%; background: #643FCE; height: 64px; transition: all 0.3s ease; overflow: hidden; }
    .topMenu{width: 100%; max-width: 1300px; height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: center; position: relative;}
    .topMenu>p{font-size: 18px; font-weight: 500; color: #fff;}
    /* .topMenu>a:nth-of-type(2){position: absolute; right: 10%; display: flex; align-items: center; gap: 5.5px; color: #fff; font-size: 18px; font-weight: 500;} */
    .topMenu>a:nth-of-type(1){position: absolute; right: 0; display: flex; align-items: center; gap: 5.5px; color: #fff; font-size: 18px; font-weight: 500;}
    
    .bottomHeader{width: 100%; height: 100px; transition: all 0.3s ease;}
    .bottomMenu{width: 100%; max-width: 1300px; height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;}
    .leftMenu{display: flex; align-items: center; flex: 1; justify-content: flex-start; gap: 30px;}
    .navMenu{display: flex; align-items: center; gap: 24px;margin-right:24px;}
    
    .menu-item{opacity: 1; transition: opacity 0.3s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
    .rightMenu{display: flex; align-items: center; gap: 10px;}
    .rightMenu>a.loginBtn{background: #643FCE; border: none; color: #fff;}
    .mobile{display: none;}

    /* 헤더 숨김 상태 (스크롤 시) */
    body.hide-top-header .topHeader { height: 0; opacity: 0; pointer-events: none; }

    /* ------------------------------------------- */
    /* [분기] 서브 페이지 스타일 (.header-sub) */
    /* ------------------------------------------- */
    .header-sub .bottomHeader { background: #fff; }
    .header-sub .navMenu > a { font-size: 16px; padding: 15px 0; font-weight: 500; color: #000; cursor: pointer; transition: all 0.3s ease; text-align: center; display: inline-block; }
    .header-sub .navMenu > a:hover, .header-sub .navMenu > a.active { color: #7800ff; }
    
    /* [중요] 우측 메뉴 버튼 공통 스타일 (관리자 아이콘 제외) */
    .header-sub .rightMenu > a:not(.btn-admin-gear) { width: 88px; height: 38px; border-radius: 10px; border: 1px solid #A7A7A7; display: flex; align-items: center; justify-content: center; color: #000; background: #fff; font-size: 16px; font-weight: 500; cursor: pointer; }

    /* ------------------------------------------- */
    /* [분기] 메인 페이지 스타일 (.header-main) */
    /* ------------------------------------------- */
    .header-main { border-bottom: 1px solid rgba(255,255,255,0.1); }
    .header-main .bottomHeader { background: transparent; }
    .header-main .navMenu > a { font-size: 16px; padding: 15px 0; font-weight: 500; color: #fff; cursor: pointer; transition: all 0.3s ease; text-align: center; display: inline-block; }
    .header-main .navMenu > a:hover { color: #7800ff; }
    
    /* 메인 우측 메뉴 (관리자 아이콘 제외) */
    .header-main .rightMenu > a:not(.btn-admin-gear) { width: 88px; height: 38px; border-radius: 10px; border: 1px solid #A7A7A7; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(255, 255, 255, 0.2); font-size: 16px; font-weight: 500; cursor: pointer; }
    
    .headerContainer.header-main.scrolled { background-color: rgba(16, 15, 20, 0.9); border-bottom: 1px solid rgba(100, 100, 100, 0.3); }
    .headerContainer.header-main.scrolled .bottomHeader { background: transparent; }

    /* 모바일 메뉴 등 기타 생략된 스타일은 기존 유지 (지면 관계상 핵심만 수정) */
    /* ... (기존 모바일/모달 스타일은 그대로 둠) ... */
    
    /* ---------------------------------------------------- */
    /* (여기부터 아래 모달/반응형 스타일은 원본 유지 필요) */
    /* ---------------------------------------------------- */
    .mobileMenu{ position: fixed; top: 0; right: -100%; width: 50%; height: 100vh; background: #fff; z-index: 999; transition: right 0.3s ease; overflow-y: auto; padding-top: 60px; }
    .mobileMenu.active{ right: 0; }
    .mobileMenu .closeMenu{ position: absolute; top: 20px; right: 20px; width: 32px; height: 32px; cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
    .mobileMenu .closeMenu span{ width: 70%; height: 3px; background: #000; border-radius: 2px; }
    .mobileMenu .closeMenu span:nth-child(1){ transform: rotate(45deg); position: absolute; }
    .mobileMenu .closeMenu span:nth-child(2){ display: none; }
    .mobileMenu .closeMenu span:nth-child(3){ transform: rotate(-45deg); position: absolute; }
    .mobileMenuNav{ display: flex; flex-direction: column; gap: 0; }
    .mobileMenuNav>a{ padding: 16px 20px; font-size: 16px; font-weight: 500; color: #000; border-bottom: 1px solid #E8E8E8; transition: background 0.3s ease; }
    .mobileMenuNav>a:hover{ background: #f5f5f5; color: #643FCE; }
    .mobileMenuNav>a.active{ background: #f5f5f5; color: #643FCE; }
    .mobileMenuBottom{ padding: 20px; border-top: 1px solid #E8E8E8; display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
    .mobileMenuBottom>a{ width: 100%; height: 38px; border-radius: 10px; border: 1px solid #A7A7A7; display: flex; align-items: center; justify-content: center; color: #000; background: #fff; font-size: 14px; font-weight: 500; cursor: pointer; }
    .mobileMenuBottom>a.loginBtn{ background: #643FCE; border: none; color: #fff; }
    .mobileMenuOverlay{ position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 998; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
    .mobileMenuOverlay.active{ opacity: 1; pointer-events: auto; }

    .top_box { position: fixed; right: 60px; top: 50%; transform: translateY(-50%); z-index: 99999; display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
    .top_box_m { display: flex; align-items: center; justify-content: flex-end; background: transparent; border-radius: 50px; cursor: pointer; overflow: hidden; height: 50.21px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); border: 1px solid transparent; }
    .top_box_m.always-open { background: #fff; border-color: #7800FF; padding-left: 20px; box-shadow: 0 4px 12px rgba(120, 0, 255, 0.15); }
    .top_box_m.always-open .top_text { max-width: 150px; opacity: 1; transform: translateX(0); padding-right: 5px; }
    .top_box_m:hover { background: #fff; border-color: #7800FF; padding-left: 20px; box-shadow: 0 4px 12px rgba(120, 0, 255, 0.15); }
    .top_box_m .top_text { display: block; max-width: 0; opacity: 0; padding: 0; font-size: 14px; font-weight: 600; color: #7800FF; white-space: nowrap; overflow: hidden; transition: all 0.4s ease; transform: translateX(10px); }
    .top_box_m:hover .top_text { max-width: 150px; opacity: 1; transform: translateX(0); padding-right: 5px; }
    .top_box_m .top_icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 50%; }
    .top_box_m .top_icon img { width: 100%; height: 100%; object-fit: cover; }
    #top-btn { border: none; background: none; box-shadow: none; }

    .my-info-dropdown { position: relative; }
    .header-sub .my-info-btn { color: #000; background: #fff; }
    .header-main .my-info-btn { color: #fff; background: rgba(255, 255, 255, 0.2); }
    .my-info-btn { width: 88px; height: 38px; border-radius: 10px; border: 1px solid #A7A7A7; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 500; cursor: pointer; }
    .dropdown-content { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background-color: #fff; min-width: 120px; box-shadow: 0px 8px 24px 0px rgba(0,0,0,0.15); z-index: 1; border-radius: 12px; padding: 0; margin-top: 10px; overflow: hidden;}
    .my-info-dropdown .dropdown-content { min-width: 220px; margin-top: 0; }
    .dropdown-profile { padding: 14px 16px; background: #f8f9fa; border-bottom: 1px solid #eee; }
    .dropdown-profile .profile-link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; min-width: 0; padding: 0; }
    .dropdown-profile .profile-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: #e0e0e0; }
    .dropdown-profile .profile-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .dropdown-profile .profile-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
    .dropdown-profile .profile-name-row { display: flex; align-items: center; gap: 6px; min-width: 0; }
    .dropdown-profile .profile-name { font-size: 14px; font-weight: 600; color: #222; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex-shrink: 1; }
    .dropdown-profile .profile-id { font-size: 12px; color: #666; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .dropdown-profile .profile-mb4-label { display: inline-block; width: fit-content; flex-shrink: 0; font-size: 11px; color: #7800ff; background: rgba(120,0,255,0.1); padding: 2px 6px; border-radius: 14px; }
    .dropdown-content::before { content: ""; position: absolute; top: -10px; left: 0; width: 100%; height: 10px; background: transparent; }
    .dropdown-content .dropdown-menu { padding: 8px 0; }
.dropdown-content a { color: #333; padding: 10px 16px 10px 20px; text-decoration: none; display: block; font-size: 14px; text-align: left; white-space: nowrap; }
    .my-info-dropdown .dropdown-content .dropdown-menu a:hover { background-color: #f5f5f5; color: #643FCE; }
    .my-info-dropdown:hover .dropdown-content { display: block; }
    

    /* 모달 스타일 생략 (원본 유지) */
    .join-modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 9999; align-items: center; justify-content: center; flex-direction: column; animation: fadeIn 0.3s; }
    .join-modal-overlay.active { display: flex; }
    .join-modal-container { background: #fff; width: 820px; max-width: 95%; border-radius: 20px; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.2); height: 85vh; max-height: 800px; display: flex; flex-direction: column; overflow: hidden; }
    .btn-close-modal { position: absolute; top: 35px; right: 35px; background: none; border: none; font-size: 28px; color: #999; cursor: pointer; z-index: 30; }
    .join-header-wrapper { padding: 40px 40px 0 40px; flex-shrink: 0; background: #fff; z-index: 10; position: relative; }
    .join-list-title { margin: 0 0 20px 0; font-size: 24px; font-weight: 700; color: #111; }
    .join-modal-scroll-body { flex: 1; min-height: 0; overflow-y: scroll; padding: 0; }
    .join-modal-scroll-body::-webkit-scrollbar { width: 6px; }
    .join-modal-scroll-body::-webkit-scrollbar-track { background: transparent; }
    .join-modal-scroll-body::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
    .join-user-info { display: flex; justify-content: space-between; align-items: center; background: #F9F9F9; padding: 20px 30px; border-radius: 16px; margin: 0 40px 30px 40px; }
    .user-profile { display: flex; align-items: center; gap: 15px; }
    .user-profile .profile-img { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; background: #fff; }
    .user-profile .profile-img img { width: 100%; height: 100%; object-fit: cover; }
    .user-text { display: flex; flex-direction: column; gap: 2px; }
    .user-name { font-size: 18px; font-weight: 700; color: #222; }
    .user-email { font-size: 14px; color: #666; }
    .btn-switch-account { padding: 8px 20px; border: 1px solid #7800FF; border-radius: 20px; color: #7800FF; font-size: 14px; font-weight: 500; text-decoration: none; transition: all 0.2s; background: #fff; }
    .btn-switch-account:hover { background: #7800FF; color: #fff; }
    .h-join-content-header { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: #fff; z-index: 10; padding: 0 40px 20px 40px; margin-bottom: 20px; }
    .h-join-total-count { font-size: 15px; color: #888; font-weight: 500; }
    .h-join-search-box { position: relative; width: 300px; }
    .h-join-search-box input { width: 100%; padding: 10px 40px 10px 15px; border: 1px solid #ddd; border-radius: 20px; font-size: 14px; outline: none; }
    .h-join-search-box button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #999; cursor: pointer; }
    .h-join-class-list-scroll { padding: 0 40px 40px 40px; }
    .h-join-content-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
    .h-join-class-item { cursor: pointer; position: relative; }
    .h-join-class-item .h-join-thumb { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1/1; margin-bottom: 10px; }
    .h-join-class-item .h-join-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
    .h-join-class-item:hover .h-join-thumb img { transform: scale(1.05); }
    .h-join-play-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
    .h-join-class-item:hover .h-join-play-overlay { opacity: 1; }
    .h-join-overlay-top-icons { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: center; }
    .h-join-content-type-badge { color: #fff; font-size: 11px; padding: 4px 10px; border-radius: 20px; font-weight: 600; }
    .h-join-content-type-badge.visiting { background: #FF6B35; }
    .h-join-content-type-badge.coming { background: #7B68EE; }
    .h-join-icon-heart { width: 24px; height: 24px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; }
    .h-join-overlay-title { color: #fff; font-size: 16px; font-weight: 600; text-align: center; margin: 15px 0; padding: 0 10px; line-height: 1.4; }
    .h-join-overlay-info { font-size: 13px; color: rgba(255,255,255,0.9); margin-bottom: 15px; font-weight: 500; }
    .h-join-btn-play { background: #7800FF; border: none; color: #fff; padding: 6px 24px; border-radius: 20px; font-size: 14px; font-weight: 600; }
    .h-join-item-title { font-size: 15px; color: #333; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.3s; }
    .h-join-class-item:hover .h-join-item-title { opacity: 0; }
    .h-join-btn-more-view { 
        display: block; 
        width: 100%; 
        margin-top: 20px; 
        height: 30px;
        border: 1px solid #9d9d9d; 
        background: #fff; 
        border-radius: 30px; 
        color: #171717; 
        font-size: 15px; 
        font-weight: 500; 
        cursor: pointer; 
        transition: all 0.2s; 
        text-align: center;     
        max-width: 165px;
        margin: 40px auto 0;
    }
    .h-join-btn-more-view:hover { border-color: #ccc; color: #333; }
    .h-join-btn-more-view i { margin-left: 8px; color:#b3b3b3;} 
    #join-list-view { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
    .h-join-detail-view-container { display: none; flex-direction: column; height: 100%; overflow: hidden; }
    .h-join-detail-header-fixed { padding: 40px 44px 20px 44px; background: #fff; flex-shrink: 0; border-bottom: 1px solid #eee; display: flex; align-items: center; justify-content: space-between; }
    .h-join-detail-header-fixed h3 { margin: 0; font-size: 24px; font-weight: 700; color: #111; }
    .h-join-btn-back { background: none; border: none; font-size: 24px; color: #333; cursor: pointer; margin-right: 15px; display: flex; align-items: center; justify-content: center; }
    .h-join-header-left { display: flex; align-items: center; }
    .h-join-detail-scroll-area { flex: 1; overflow-y: scroll; padding: 30px 44px 40px 44px; }
    .h-join-detail-scroll-area::-webkit-scrollbar { width: 6px; }
    .h-join-detail-scroll-area::-webkit-scrollbar-track { background: transparent; }
    .h-join-detail-scroll-area::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
    .h-join-detail-top { display: flex; gap: 30px; margin-bottom: 30px; }
    .h-join-detail-img { width: 180px; height: 180px; border-radius: 16px; overflow: hidden; flex-shrink: 0; }
    .h-join-detail-img img { width: 100%; height: 100%; object-fit: cover; }
    .h-join-detail-info { flex: 1; display: flex; flex-direction: column; }
    .h-join-dt-tags { display: flex; gap: 8px; margin-bottom: 12px; }
    .h-join-dt-tag { font-size: 12px; padding: 4px 10px; border-radius: 20px; font-weight: 600; }
    .h-join-dt-tag.main { background: #FF6B35; color: #fff; }
    .h-join-dt-tag.sub { background: #f0f0f0; color: #666; }
    .h-join-dt-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: flex-start; }
    .h-join-buy-count { font-size: 13px; color: #666; background: #f5f5f5; padding: 4px 10px; border-radius: 20px; font-weight: 500; }
    .h-join-dt-desc-box { flex: 1; }
    .h-join-dt-desc-title { font-size: 14px; font-weight: 700; color: #333; margin-bottom: 6px; }
    .h-join-dt-desc-text { font-size: 13px; color: #666; line-height: 1.5; margin-bottom: 15px; }
    .h-join-qr-section { background: #F9F9F9; border-radius: 16px; padding: 18px 18px 18px 35px; display: flex; gap:47px; justify-content: space-between; align-items: center; margin-bottom: 40px; }
    /* .h-join-qr-text-box { padding-right: 47px; } */
    .h-join-qr-text-box h4 { font-size: 18px; font-weight: 700; padding-top:11px; margin-bottom: 18px; }
    .h-join-qr-text-box ol { padding-left: 12px; margin: 0; font-size: 12px; color: #9c9c9c; line-height: 1.4; }
    /* .h-join-qr-text-box ol li { margin-bottom: 4px; } */
    .h-join-qr-text-box p { font-size: 13px; color: #9c9c9c; margin-top: 12px; padding-bottom:8px; }
    .h-join-qr-code-img { height: 100%; aspect-ratio: 1 / 1; background: #fff; padding: 20px; border-radius: 18px; flex-shrink: 0; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
    .h-join-qr-code-img img { width: 100%; height: 100%; max-width:115px;}
    .h-join-qr-list-area h4 { font-size: 18px; font-weight: 700; margin-bottom: 15px; }
    .h-join-qr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 45px; }
    .h-join-qr-item { 
        text-align: center; 
        display: flex; 
        flex-direction: column; 
    }
    .h-join-qr-thumb { 
        background: none; 
        border: 1px solid #d9d9d9; 
        margin-bottom: 13px; 
        aspect-ratio: 1/1; 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        padding: 20px;
        border-radius: 18px;
    }
    .h-join-qr-thumb img { width: 100%; height: 100%; }
    .h-join-qr-status { display: inline-block; height:24px; border-radius: 20px; font-size: 14px; font-weight: 400; color: #fff; width:100%; align-self:center; max-width:100px; display: flex; align-items: center; justify-content: center;}
    .h-join-qr-status.used { background: #e4e4e4; color: #9c9c9c; }
    .h-join-qr-status.unused { background: #653fd0; color: #fff; }
    .h-join-qr-list-count{color:#9c9c9c; font-weight:400; font-size:16px; display: inline-block; padding-left: 13px;}
    /* 추가: 숨김 클래스 */
    .h-join-hidden-item { display: none; }
    .h-join-hidden-qr { display: none; }

    #header-open-modal-btn{
        cursor: pointer;
        position: absolute;
        right: 10%;
        display: flex;
        align-items: center;
        gap: 5.5px;
        color: #fff;
        font-size: 18px;
        font-weight: 500;
        background: none;
        border: none;
        outline: none;
    } 

    /* ------------------------------------------- */
    /* [수정] 요금제(구독) 버튼 스타일 */
    /* ------------------------------------------- */
    .btn-subscribe {
        position: relative;
        width: 88px; height: 38px;
        display: flex; justify-content: center; align-items: center;
        border-radius: 10px;
        overflow: hidden;
        text-decoration: none;
        z-index: 1;
        transition: transform 0.2s ease;
    }
    .btn-subscribe:hover { transform: scale(1.05); }

    /* 1. 혜성(빛나는 점) 레이어 - 메인 페이지용 */
    .btn-subscribe::before {
        content: '';
        position: absolute;
        width: var(--comet-size); 
        height: var(--comet-size);
        background: radial-gradient(circle, var(--comet-color) 40%, transparent 70%);
        border-radius: 50%;
        box-shadow: 0 0 10px 1px var(--comet-color); 
        filter: blur(var(--comet-blur));
        transform: translate(-50%, -50%);
        animation: move-rect 3s linear infinite;
        z-index: -2;
    }

    /* 2. 버튼 내부 가림막 */
    .btn-subscribe::after {
        content: '';
        position: absolute;
        inset: 2px;
        border-radius: 8px; 
        z-index: -1;
    }

    /* 3. 텍스트 */
    .btn-subscribe span {
        font-size: 15px; font-weight: 700; z-index: 2;
    }

    /* ------------------------------------------- */
    /* [설정] 페이지별 요금제 버튼 분기 */
    /* ------------------------------------------- */
    
    /* (1) 서브 페이지: 빛 효과 없음, 깔끔한 보라색 배경 */
    .header-sub .btn-subscribe {
        background: #643FCE !important; /* 보라색 배경 */
        border: none; /* 테두리 없음 */
        color: #fff !important; /* 글자 흰색 */
    }
    .header-sub .btn-subscribe span { color: #fff !important; }
    /* 서브에서는 빛(before)과 가림막(after) 제거 */
    .header-sub .btn-subscribe::before, .header-sub .btn-subscribe::after { display: none !important; }


    /* (2) 메인 페이지: 은은한 흰색 혜성 */
    .header-main .btn-subscribe {
        color: #fff; 
        --comet-color: #ffffff;
        --comet-size: 50px; 
        --comet-blur: 5px;  
    }
    .header-main .btn-subscribe::after { background: rgba(30, 30, 30, 0.9); }

    @keyframes move-rect {
        0%   { left: 0;    top: 0; }
        35%  { left: 100%; top: 0; }
        50%  { left: 100%; top: 100%; }
        85%  { left: 0;    top: 100%; }
        100% { left: 0;    top: 0; }
    }

    /* ------------------------------------------- */
    /* [수정] 관리자 톱니바퀴 아이콘 스타일 */
    /* ------------------------------------------- */
    /* .rightMenu > a 에서 상속받은 버튼 스타일을 강제 초기화(reset) */
    a.btn-admin-gear {
        width: 40px !important;
        height: 40px !important;
        border: none !important;         /* 테두리 제거 */
        background: transparent !important; /* 배경 제거 */
        padding: 0 !important;
        
        display: flex !important;
        align-items: center; 
        justify-content: center;
        font-size: 22px !important;      /* 아이콘 크기 */
        margin-left: 5px;
        transition: transform 0.3s ease, color 0.3s ease;
    }
    a.btn-admin-gear:hover { transform: rotate(90deg); }
    
    /* 테마별 아이콘 색상 */
    .header-sub .btn-admin-gear { color: #555 !important; }
    .header-main .btn-admin-gear { color: rgba(255,255,255,0.8) !important; }

    /* 헬프센터 드롭다운 스타일 (navMenu 내부용) */
    .help-menu-dropdown { position: relative; height: 100%; display: flex; align-items: center; }
    .help-menu-dropdown .dropdown-content { 
        display: none;
        position: absolute;
        top: 100%; 
        left: 50%; 
        transform: translateX(-50%); 
        background-color: #fff;
        min-width: 120px; 
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); 
        z-index: 1000; 
        border-radius: 10px; 
        padding: 10px 0; 
        margin-top: -10px; 
    }
    .help-menu-dropdown .dropdown-content::before { content: ""; position: absolute; top: -10px; left: 0; width: 100%; height: 10px; background: transparent; }
    .help-menu-dropdown:hover .dropdown-content { display: block; }
    .help-menu-dropdown .dropdown-content a { color: #333; padding: 10px 16px; text-decoration: none; display: block; font-size: 14px; text-align: left; white-space: nowrap; }
    .help-menu-dropdown .dropdown-content a:hover { background-color: #f5f5f5; color: #643FCE; }

    /* navMenu 스타일 확장 */
    .header-sub .navMenu .help-menu-btn { font-size: 16px; padding: 15px 0; font-weight: 500; color: #000; cursor: pointer; transition: all 0.3s ease; text-align: center; display: inline-block; }
    .header-sub .navMenu .help-menu-btn:hover { color: #7800ff; }
    
    .header-main .navMenu .help-menu-btn { font-size: 16px; padding: 15px 0; font-weight: 500; color: #fff; cursor: pointer; transition: all 0.3s ease; text-align: center; display: inline-block; }
    .header-main .navMenu .help-menu-btn:hover { color: #7800ff; }

    .help-menu-dropdown > a.active { color: #7800ff!important; }