
    :root { --gemini-blue: #4285f4; --gemini-purple: #9b72cb; --gemini-red: #d96570; }
    
    .nc-main-wrapper { 
        font-family: 'Pretendard', sans-serif; 
        width: 100% !important; 
        position: relative;
        overflow: hidden; 
        background: transparent !important; 
        /* 상단 여백 최소화 */
        margin-top: -120px !important; 
        padding: 0 !important; 
    }

    /* 세로 100% 제거 및 패딩으로 높이 조절 */
    .nc-ai-search-container { 
        width: 100%; 
        margin: 0; 
        padding: 180px 0 100px; /* 상하 여백을 직접 조절 */
        background: rgba(255, 255, 255, 0.1); 
        backdrop-filter: blur(30px); 
        -webkit-backdrop-filter: blur(30px);
        position: relative; 
        display: flex;
        justify-content: center;
        align-items: center; 
        border: none;
        box-shadow: none;
    }
    
    /* 배경 애니메이션 (콘텐츠 영역에 맞춰짐) */
    .nc-ai-search-container::before {
        content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
        background: radial-gradient(circle at center, rgba(66, 133, 244, 0.1) 0%, rgba(155, 114, 203, 0.08) 40%, transparent 70%);
        animation: rotateGemini 30s infinite linear;
    }
    @keyframes rotateGemini { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

    .nc-ai-inner { 
        position: relative; 
        z-index: 2; 
        text-align: center; 
        width: 100%; 
        max-width: 1100px; 
        padding: 0 40px; 
    }

    /* 타이틀과 검색바 사이 공백 최소화 */
    .nc-ai-inner h2 { 
        font-size: clamp(24px, 4.5vw, 36px); 
        font-weight: 800; 
        line-height: 1.2; 
        margin-bottom: 25px; 
        color: #111; 
        letter-spacing: -1.2px; 
    }

    .nc-search-bar { 
        display: flex; 
        background: #fff; 
        box-shadow: 0 10px 35px rgba(0,0,0,0.06);
        border: 1px solid rgba(66, 133, 244, 0.15); 
        border-radius: 30px; 
        padding: 8px 8px 8px 30px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        max-width: 700px; 
        margin: 0 auto;
    }
    .nc-search-bar:focus-within { 
        transform: scale(1.01);
        border-color: var(--gemini-blue); 
    }
    .nc-search-bar input { flex: 1; background: transparent; border: none; outline: none; color: #000; font-size: 18px; font-weight: 500; }
    
    .nc-search-submit { 
        background: linear-gradient(90deg, #4285f4, #9b72cb); 
        color: #fff; 
        border: none;
        padding: 12px 35px; 
        border-radius: 20px; 
        font-weight: 800; 
        cursor: pointer; 
        font-size: 14px;
    }

    .admin-only-menu { 
        display: inline-flex; align-items: center; gap: 8px; 
        background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(0,0,0,0.05); padding: 8px 18px; 
        border-radius: 12px; cursor: pointer; font-size: 11px; font-weight: 800; color: #333;
    }
